blob: 59cf661f8623db7e11e71c0441a6d903e0350122 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
.\"
.\" gnome-session manual page.
.\" (C) 2000 Miguel de Icaza (miguel@helixcode.com)
.\" (C) 2009-2010 Vincent Untz (vuntz@gnome.org)
.\"
.TH GNOME-SESSION 1 "GNOME"
.SH NAME
gnome-session \- Start the GNOME desktop environment
.SH SYNOPSIS
.B gnome-session [\-\-autostart=DIR] [\-\-default-session-key=KEY] [\-\-failsafe|\-f] [\-\-debug]
.SH DESCRIPTION
The \fIgnome-session\fP program starts up the GNOME desktop
environment. This command is typically executed by your login manager
(either gdm, xdm, or from your X startup scripts). It will load
either your saved session, or it will provide a default session for the
user as defined by the system administrator (or the default GNOME
installation on your system).
.PP
The default session is defined in the GConf keys under
\fB/desktop/gnome/session\fP.
When saving a session, \fIgnome-session\fP saves the currently running
applications in the \fB$XDG_CONFIG_HOME/gnome-session/saved-session\fP
directory.
.PP
\fIgnome-session\fP is an X11R6 session manager. It can manage GNOME
applications as well as any X11R6 SM compliant.
.SH OPTIONS
The following options are supported:
.TP
.I "--autostart=DIR"
Start all applications defined in \fIDIR\fP, instead of starting the
applications defined in \fB/desktop/gnome/session/default_session\fP,
or via the \fI--default-session-key\fP option. Multiple
\fI--autostart\fP options can be passed.
.TP
.I "--default-session-key=KEY"
Set the GConf key from which applications running a default session
should be read to \fIKEY\fP. If not specificed,
\fB/desktop/gnome/session/default_session\fP will be used.
.TP
.I "--failsafe"
Run in fail-safe mode. User-specified applications will not be started.
.TP
.I "--debug"
Enable debugging code.
.SH ENVIRONMENT
\fIgnome-session\fP sets several environment variables for the use of
its child processes:
.PP
.B SESSION_MANAGER
.IP
This variable is used by session-manager aware clients to contact
gnome-session.
.PP
.B DISPLAY
.IP
This variable is set to the X display being used by
\fIgnome-session\fP. Note that if the --display option is used
this might be different from the setting of the environment variable
when gnome-session is invoked.
.SH FILES
.PP
.B $XDG_CONFIG_HOME/config/autostart
.B $XDG_CONFIG_DIRS/config/autostart
.B /usr/share/gnome/autostart
.IP
The applications defined in those directories will be started on login.
\fIgnome-session-properties(1)\fP can be used to easily configure them.
.PP
.B $XDG_CONFIG_HOME/gnome-session/saved-session
.IP
This directory contains the list of applications of the saved session.
.SH BUGS
If you find bugs in the \fIgnome-session\fP program, please report
these on https://bugzilla.gnome.org.
.SH SEE ALSO
.BR gnome-session-properties(1)
.BR gnome-session-save(1)
.BR gnome-wm(1)
|