gnome-session-save - saves or terminates the current GNOME session
gnome-session-save [--gui] [--kill] [--session-name=string] [gnome-std-options]
gnome-session-save can be used from a GNOME session to save a snapshot of the currently running applications. This session will be restored at your next GNOME startup session.
The following options are supported:
--gui Shows a dialog when the session is saved, and reports errors in dialog boxes instead of printing to stderr.
--kill Terminates the GNOME session.
-s, --session-name string Set name of session to save.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
Example 1: Saving the users current session
example% gnome-session-saveExample 2: Terminating the users current session
example% gnome-session-save --killExample 3: Using the GUI to terminate the users current session
example% gnome-session-save --kill --gui
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
The following files are used by this application:
/usr/bin/gnome-session-save The command-line executable for the application.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-session Interface stability Volatile
gnome-session(1) gnome-session-remove(1), default.session(5), gnome-std-options(5)
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006.
| SunOS 5.11 | gnome-session-save (1) | 13 Jan 2003 |