DTSESSIONFILE(4)
πΈ 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
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms