summaryrefslogtreecommitdiffstats
path: root/doc/man/gnome-session-selector.xml
blob: 7beb1e47b21ab8eac3b1b9aee3cc79b81bfe09e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<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>