gnome-session-save (1) - Linux Man Pages
gnome-session-save: Saves or ends the current GNOME session
NAMEgnome-session-save - Saves or ends the current GNOME session
SYNOPSISgnome-session-save [--logout] [--force-logout] [--logout-dialog] [--shutdown-dialog] [--gui] [--kill [--silent]]
DESCRIPTIONgnome-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 session.
The --gui option will report errors in dialog boxes instead of printing to stderr.
If called with the --logout option, the current GNOME session will be ended, unless logging out has been inhibited by an application. The --force-logout option can be used to end the session regardless of the inhibition state.
When the --logout-dialog option is given, the standard dialog displaying logout options is displayed. When --shutdown-dialog option is given, the standard dialog displaying shutdown options is displayed.
The --kill and --silent options are deprecated. The --kill option is equivalent to the --logout-dialog option. If --silent is used with --kill, then it will behave as if --logout was used.
The session is not saved when gnome-session-save is called with any of the options ending the session.
BUGSIf you find bugs in the gnome-session-save program, please report these on http://bugzilla.gnome.org.