File: default.session.5

package info (click to toggle)
gnome-session 2.8.1-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,360 kB
  • ctags: 1,042
  • sloc: ansic: 11,059; sh: 10,958; makefile: 286
file content (66 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (2)
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
.\"
.\" GNOME default session manual page
.\" (C) 2000 Miguel de Icaza (miguel@helixcode.com).
.\" 
.\" This manual page is covered by the terms of the GNU General
.\" Public License.  
.\"
.TH GNOME 1 "GNOME 1.0" 
.SH NAME
GNOME Default session configuration file.
.PP
The 
.I ${prefix}/share/gnome/default.session
file contains a list of programs to be launched the first time a user
logs into the GNOME environment.
.PP
The format of the file is the one used by the gnome_config libraries,
and it looks like this:
.PP
.nf
[Section]
SEQID,id=uniqueID
SEQID,Priority=PRIO
SEQID,RestartCommand=command
num_clients=TOP
.fi
.PP
There are three possible names for 
.B Section
And they are:
.PP
.I Default
.IP
This specifies the Default session to load
.PP
.I Chooser
.IP
Lets the user configure which non-session aware programs should be
started up when the session begins
.PP
.I Warner
.IP
.PP
Since the gnome_config file format is not very flexible, an array of
data is emulated by listing starting from 0 chunks of
"id,Priority,RestartCommand", and at the end the 
.I num_clients
variable lists the number of chunks listed.
.PP
The 
.B uniqueid
key provides a name that is unique within this file and passed to the
app as the client id which it must use to register with
gnome-session.
.PP
The 
.B RestartCommand
specifies the command to run from the $PATH.
.PP
The 
.B Priority
determines the order in which the commands are started
(with Priority = 0 first) and defaults to 50.
.PP
The clients must be numbered from 0 to the value of 
.I num_clients-1