<refentry id="gnome-session-selector" lang="en">

<refentryinfo>
<title>gnome-session-selector</title>
<productname>gnome-session</productname>
</refentryinfo>

<refmeta>
<refentrytitle>gnome-session-selector</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">User Commands</refmiscinfo>
</refmeta>

<refnamediv>
<refname>gnome-session-selector</refname>
<refpurpose>Selects a session to use with gnome-session</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>gnome-session-selector</command>
<arg choice="opt">session</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para><command>gnome-session-selector</command> can be used from a
xsession desktop file to select a session before gnome-session is run.
gnome-session reads and stores its session in the
<filename><envar>$XDG_DATA_HOME</envar>/gnome-session/saved-session</filename>
directory. <command>gnome-session-selector</command> works by replacing
the saved-session directory by a symlink to another directory. Since the
session name is used as the directory name, it may not contain '/' characters
or begin with a '.'.
</para>
<para>
When a session name is specified, <command>gnome-session-selector</command>
will create a symlink to select this session.
</para>
<para>
When started without arguments, <command>gnome-session-selector</command>
will present a dialog that allows to choose one of the existing sessions
or create a new one.
</para>
</refsect1>

<refsect1><title>See also</title>
<para>
<citerefentry><refentrytitle>gnome-session</refentrytitle><manvolnum>1</manvolnum></citerefentry>
</para>
</refsect1>
</refentry>
