aboutsummaryrefslogtreecommitdiffstats
path: root/man/chksession.8
blob: 1fff5ce463555371603a08a28077a5d7287454ac (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
.\" Written by Camille Bégnis 12/28/99
.TH CHKSESSION 8 "Dec 1999" "mandrake_desk" "MandrakeSoft"
.SH NAME
chksession \- Add/remove sessions from display managers
.SH SYNOPSIS
.B chksession 
[\fIOPTION\fR]...
.SH DESCRIPTION
.PP
.PP
chksession allows system root to manage the sessions list provided by both gdm and kdm display managers. It modifies respective configuration files to add or remove available sessions like kde, gnome, icewm...
.TP
\fB\-F\fR, \fB\-\-first\fR
Print only first available entry of config file.
.TP
\fB\-f=FILE\fR, \fB\-\-file=FILE\fR
Specify an alternate config file, different from \fI/etc/X11/window-manager\fR
.TP
\fB\-g\fR, \fB\-\-gdm\fR
Update window-managers list for gdm sessions using default config file or FILE specified by \fB\-f\fR option.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print a short help.
.TP
\fB\-k\fR, \fB\-\-kdm\fR
Update window-managers list for kdm sessions using default config file or FILE specified by \fB\-f\fR option.
.TP
\fB\-l\fR, \fB\-\-list\fR
List window-managers available in config file.
.TP
\fB\-r=ENTRY\fR, \fB\-\-remove=ENTRY\fR
Print to stdout the list of window-managers as in config file, where ENTRY has been removed.
.TP
\fB\-t\fR, \fB\-\-test\fR
Enter test mode.
.TP
\fB\-x=ENTRY\fR, \fB\-\-xsession=ENTRY\fR
Print to stdout the script used to launch ENTRY window-manager.
.SH "CONFIG FILE STRUCTURE"
This file describes each window manager that will be made available through display managers. Each entry in this file is separate4d by a \fB\-\-@@\-\-\fR line.
.PP
.B NAME=
is the name of the session as displayed into display manager's list.
.PP
.B ICON=
icon file (\fI.xpm or .png\fR) used for this session.
.PP
.B DESC=
short description of the session.
.PP
.B EXEC=
test string to check wether the session manager has been installed or not.
.PP
.B SCRIPT:
shell script used to run the window-manager choosed by the user.
.SH FILES
.TP 
\fB\/etc/X11/window-manager\fR
default config file, listing most known window-managers. It is the base used by \fBchksessio\fRn to update config files of both gdm and kdm display managers.
.SH "REPORTING BUGS"
Report bugs to \fBhttp://www.linux-mandrake.com/bugs/\fR.
.SH "SEE ALSO"
\fIxdm\fR(1)
.SH COPYRIGHT
Copyright \(co 1999 MandrakeSoft.
.br
This is a GPL free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.