gnome-session-save(1) User Commands gnome-session-save(1)
NAME
gnome-session-save - saves or terminates the current GNOME session
SYNOPSIS
gnome-session-save [--kill] [--gui] [gnome-std-options]
DESCRIPTION
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.
OPTIONS
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.
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Saving the user's current session
example% gnome-session-save
Example 2: Terminating the user's current session
example% gnome-session-save --kill
Example 3: Using the GUI to terminate the user's current session
example% gnome-session-save --kill --gui
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-session-sThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-session |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-std-options(5), default.session(5), gnome-smproxy(1), gnome-session(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 13 Jan 2003 gnome-session-save(1)