GNOME-SESSION(1) | General Commands Manual | GNOME-SESSION(1) |
cinnamon-session - Start the GNOME desktop environment
cinnamon-session [-a|--autostart=DIR] [--session=SESSION] [--failsafe|-f] [--debug] [--whale]
The cinnamon-session program starts up the GNOME desktop environment. This command is typically executed by your login manager (either mdm, xdm, or from your X startup scripts). It will load either your saved session, or it will provide a default session for the user as defined by the system administrator (or the default GNOME installation on your system).
The default session is defined in gnome.session, a .desktop-like file that is looked for in $XDG_CONFIG_HOME/cinnamon-session/sessions, $XDG_CONFIG_DIRS/cinnamon-session/sessions and $XDG_DATA_DIRS/cinnamon-session/sessions.
When saving a session, cinnamon-session saves the currently running applications in the $XDG_CONFIG_HOME/cinnamon-session/saved-session directory.
cinnamon-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant application.
The following options are supported:
Sessions are defined in .session files, that are using a .desktop-like format, with the following keys in the GNOME Session group:
Here is an example of a session definition:
[GNOME Session] Name=GNOME fallback RequiredComponents=gnome-panel;metacity;gnome-settings-daemon; RequiredProviders=notifications; DefaultProvider-notifications=notification-daemon
The .session files are looked for in $XDG_CONFIG_HOME/cinnamon-session/sessions, $XDG_CONFIG_DIRS/cinnamon-session/sessions and $XDG_DATA_DIRS/cinnamon-session/sessions.
cinnamon-session sets several environment variables for the use of its child processes:
SESSION_MANAGER
DISPLAY
$XDG_CONFIG_HOME/config/autostart $XDG_CONFIG_DIRS/config/autostart /usr/share/gnome/autostart
$XDG_CONFIG_HOME/cinnamon-session/sessions $XDG_CONFIG_DIRS/cinnamon-session/sessions $XDG_DATA_DIRS/cinnamon-session/sessions
$XDG_CONFIG_HOME/cinnamon-session/saved-session
GNOME |