10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY cmd "gnome-session-save">
19132N/A<!
ENTITY suncopy "Copyright (c) 2003,2006,2007,2010 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refentry id="gnome-session-save-1">
10139N/A<
refmeta><
refentrytitle>gnome-session-save</
refentrytitle><
manvolnum>1</
manvolnum>
19132N/A<
refmiscinfo class="date">22 Nov 2010</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>gnome-session-save</
primary></
indexterm><
indexterm><
primary>
10139N/Asaves or terminates the current GNOME session</
primary></
indexterm><
refnamediv 10139N/Aid="gnome-session-save-1-name"><
refname>gnome-session-save</
refname><
refpurpose>saves or
10139N/Aterminates the current GNOME session</
refpurpose></
refnamediv>
10139N/A<
refsynopsisdiv id="gnome-session-save-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command>
19132N/A<
arg choice="opt"><
option>-force-logout</
option> | <
option>-logout</
option></
arg>
19132N/A<
arg choice="opt"><
option>-display=<
replaceable>DISPLAY</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-gui</
option></
arg>
19132N/A<
arg choice="opt"><
option>-logout-dialog</
option></
arg>
19132N/A<
arg choice="opt"><
option>-shutdown-dialog</
option></
arg>
19132N/A<
arg choice="opt"><
option role="nodash"><
replaceable>gnome-std-options</
replaceable></
option></
arg>
10139N/A<
refsect1 id="gnome-session-save-1-desc"><
title>&desc-tt;</
title>
19132N/A<
command>&cmd;</
command> can be used from a GNOME session to save a snapshot of
19132N/Athe currently running applications. This session will be later restored at your
19132N/AWith no options, a confirmation dialog is shown to the user.
10139N/A<
refsect1 id="gnome-session-save-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
11870N/A<
variablelist termlength="wholeline">
19132N/A<
term><
option>-display=<
replaceable>DISPLAY</
replaceable></
option></
term><
listitem>
19132N/ASpecify the <
replaceable>DISPLAY</
replaceable> to use.
19132N/A<
term><
option>-force-logout</
option></
term><
listitem>
19132N/ALog out the user, ignoring any existing inhibitors. No dialogs are displayed
19132N/Aby gnome-session-save. The save dialog for some running programs may display
11870N/A<
term><
option>-gui</
option></
term><
listitem>
11870N/A<
para>If specified, then any errors will be displayed in a dialog box.
11965N/AOtherwise, such messages are displayed to <
literal>stderr</
literal>.
11870N/ANote that this option has no affect any dialogs that the window
19132N/A<
term><
option>-logout</
option></
term><
listitem>
19132N/ASame as <
option>-force-logout</
option>.
19132N/A<
term><
option>-logout-dialog</
option></
term><
listitem>
19132N/A<
term><
option>-shutdown-dialog</
option></
term><
listitem>
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>gnome-std-options</
replaceable></
option></
term>
10139N/A<
listitem><
para>Standard options available for use with most GNOME applications.
10139N/ASee <
citerefentry><
refentrytitle>gnome-std-options</
refentrytitle><
manvolnum>
10139N/A5</
manvolnum></
citerefentry> for more information.</
para>
19132N/A<
refsect1 id="gnome-session-save-1-exam">
10139N/A<
example role="example"><
title>Saving the user's current session</
title>
10139N/A<
para><
screen>example% <
userinput>&cmd; </
userinput></
screen></
para>
19132N/A<
example role="example"><
title>Exit the user's current session with no confirmation dialogs shown</
title>
19132N/A<
para><
screen>example% <
userinput>&cmd; --force-logout</
userinput></
screen></
para>
10139N/A<
refsect1 id="gnome-session-save-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow"><
varlistentry><
term><
returnvalue>0</
returnvalue></
term>
10139N/A<
listitem><
para>Application exited successfully</
para>
10139N/A<
varlistentry><
term><
returnvalue>>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
refsect1 id="gnome-session-save-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="wide"><
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename>
10139N/A</
term><
listitem><
para>The command-line executable for the application.</
para>
10139N/A<
refsect1 id="gnome-session-save-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="gnome-session-save-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11904N/A<
citerefentry><
refentrytitle>gnome-session</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>metacity</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>,
10139N/A<
refentrytitle>gnome-std-options</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
refsect1 id="gnome-session-save-1-note"><
title>¬e-tt;</
title>
19132N/A<
para>Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007, 2010.</
para>