DTSESSIONFILE(4)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

🌸 NAME 🌸

okay so this is the dtsessionfile(special file) page, bestie β€” it's literally about the format and location of desktop session files ✨ no cap.

✨ DESCRIPTION ✨

Note: CDEnext session databases (dtsession.db) supersede CDE1.0 session databases. The CDEnext Session Manager can read CDE 1.0 session databases but not write to them. It will write only to CDEnext session databases. For more information see, dtsessiondb(4).

At session startup, the session manager will restart any applications that were saved as part of the session. The system default set of applications to be restored as part of the user's Initial Session can be found in /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/$LANG/sys.session. This file should not be edited as it will be unconditionally overwritten upon subsequent desktop installations.

A system administrator may replace the set of applications that are restored as part of the user's Initial Session by creating a file named /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/$LANG/sys.session. Unlike the resource files, this file will be used as a complete replacement for the desktop default file, so it is valid to make a copy of the system default file and make any necessary modifications.

πŸŽ€ FILE FORMAT πŸŽ€

A session file contains a line for each application to be started during a user's Initial Session. Empty lines or lines beginning with a # are ignored. Each application to be started should have a line in the session file of the form:

dtsmcmd -cmd "application command line and options"

For example, to start the file manager with options:

dtsmcmd -cmd "/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtfile -dir ~ -geometry +700+0"

More specifically, a session file consists of one or more SessionLine's:

SessionLine
          = Comment | SessionSpec | &<empty line>

Comment   = "#" {&<any character except null or newline>}

SessionSpec
          = "dtsmcmd -cmd " Quote CommandSpec Quote

Quote     = """

CommandSpec
          = "&<application command line and options>"

In that grammar: elements separated by vertical bar (|) are alternatives. Curly braces ({...}) indicate zero or more repetitions of the enclosed elements. Quotes ("...") are used around literal characters.

πŸ¦‹ FILES πŸ¦‹

  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/$LANG/sys.session β€” The desktop default set of applications for the user's Initial Session.
  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/$LANG/sys.session β€” System administrator specified set of applications for the user's Initial Session.

πŸ’œ SEE ALSO πŸ’œ

  • dtsession(1) β€” go peek at that one too, bestie πŸ’œ

okay bestie, that's the whole dtsessionfile(special file) page β€” the footer only carries that same dtsessionfile(special file) label and doesn't give a separate source, version, or date line, so that's the full tea πŸ«ΆπŸ’–

πŸ“¦ where this page comes from