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 ses-
sion will be later restored at your next GNOME startup ses-
sion.
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
SunOS 5.11 Last change: 07 Nov 2007 1
User Commands gnome-session-save(1)
Standard options available for use with most GNOME
applications. See gnome-std-options(5) for more infor-
mation.
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.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWgnome-session
Interface stability Volatile
SEE ALSO
gnome-session(1), metacity(1), attributes(5), gnome-std-
options(5)
SunOS 5.11 Last change: 07 Nov 2007 2
User Commands gnome-session-save(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006,
2007.
SunOS 5.11 Last change: 07 Nov 2007 3
|