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 [--gui] [--kill] [--session-name=name] [--silent] [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 later
restored at your next GNOME startup session.
OPTIONS
The following options are supported:
--gui
If specified, then any errors will be displayed in a dialog box. Otherwise, such messages are displayed to stderr. Note that this
option has no affect any dialogs that the window manager might display.
--kill
Terminates the GNOME session. The session will not be saved if this option is provided, unless the user has configured their session
to always save on logout.
-s, --session-name=name
Set name of session to save.
--silent
Avoids displaying any confirmation or dialogs, including ones that are displayed by the window manager (such as dialogs informing the
user about any windows that cannot save session, or session logout confirmation when the --kill option is also used).
gnome-std-options
Standard 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
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-save The 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 |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-session(1), metacity(1), attributes(5), gnome-std-options(5)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007.
SunOS 5.11 07 Nov 2007 gnome-session-save(1)