diff options
author | Frederic Lepied <flepied@mandriva.com> | 2003-08-22 07:25:00 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2003-08-22 07:25:00 +0000 |
commit | 69ce64a38697c217396738598ac5f405a4ce506f (patch) | |
tree | c87a031fe15194979344a609de45837d0c06733a /man | |
parent | ca69a7c87555cad47a91a9d3932c0d30b9658302 (diff) | |
download | common-data-69ce64a38697c217396738598ac5f405a4ce506f.tar common-data-69ce64a38697c217396738598ac5f405a4ce506f.tar.gz common-data-69ce64a38697c217396738598ac5f405a4ce506f.tar.bz2 common-data-69ce64a38697c217396738598ac5f405a4ce506f.tar.xz common-data-69ce64a38697c217396738598ac5f405a4ce506f.zip |
corrections by Bernard Lang
Diffstat (limited to 'man')
-rw-r--r-- | man/C/chksession.8 | 96 |
1 files changed, 65 insertions, 31 deletions
diff --git a/man/C/chksession.8 b/man/C/chksession.8 index 007ad42..a349f45 100644 --- a/man/C/chksession.8 +++ b/man/C/chksession.8 @@ -1,68 +1,102 @@ .\" Written by Camille Bégnis 12/28/99 -.TH CHKSESSION 8 "Dec 1999" "mandrake_desk" "MandrakeSoft" +.TH CHKSESSION 8 "Aug 2003" "mandrake_desk" "MandrakeSoft" .SH NAME chksession \- Add/remove sessions from display managers .SH SYNOPSIS .B chksession -[\fIOPTION\fR]... +[\fIOPTIONS\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... +\fBchksession\fR allows system root to control the window manager +lists for sessions initiated by gdm and kdm display managers. It +modifies respective configuration files to add or remove window +managers available for the 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 +\fB\-d=DIR\fR, \fB\-\-dir=DIR\fR +Specifies the directory DIR containing the list of window manager files. +The default is \fI/etc/X11/wmsession.d/\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. +Update window managers list for gdm sessions using default config file or FILE specified by \fB\-d\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. +Update window managers list for kdm sessions using default config file or FILE specified by \fB\-d\fR option. .TP \fB\-l\fR, \fB\-\-list\fR -List window-managers available in config file. +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. +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. +Enter test mode. Not to be used unless you know precisely what you are +doing. See TESTING. .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 +Print to stdout the script used to launch the ENTRY window manager. +.SH "WINDOW MANAGERS CONFIGURATION FILES" +\fBchksession\fR uses a directory containing several window manager +description files (by default \fI/etc/X11/wmsession.d/\fR unless +specified by option \fB\-d\fR). Each file contains the information to +briefly present the window manager and to start a session using it +(see examples in \fI/etc/X11/wmsession.d/\fR). Each file name usually +begins with digits (2 digits), which are used to order the list of the +window managers they describe. +.br +Each file contains 4 definitions followed by a script: +.TP +.B NAME=<name> +specifies the name of the session in the displayed list of window managers. +.TP +.B ICON=<file> +icon file (\fI.xpm or .png\fR) used for this window manager. +.TP +.B DESC=<text> +short description of the window manager for a session. +.TP +.B EXEC=<path> +<path> must be the absolute path of an executable file for the window +manager. It is used only to check that the window manager has +actually been installed. If this definition is missing, or if the +file is not executable by effective uid/gid, then this window manager +description file is ignored. +.TP .B SCRIPT: -shell script used to run the window-manager choosed by the user. +shell script used to run the window manager chosen by the user. +.br +This script starts on the next line and may be composed of several +command lines. It must be the last part of the file, since it will +include all following lines to the end of file. +.PP +All other lines, preceeding the script, are ignored. .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. +\fB\/etc/X11/wmsession.d/\fR default directory of window manager +description files. It is the reference used by \fBchksession\fR to update +configuration files of both gdm and kdm display managers. +.SH "TESTING" +Option \fB\-t\fR or \fB\-\-test\fR may be used for testing only. When +this option is active the behaviour may change in various way. For +example: the default directory DIR containing the list of window +manager files may then be \fI./wmsession.d/\fR rather than +\fI/etc/X11/wmsession.d/\fR. Do not use it unless you know precisely +what you are doing. .SH "REPORTING BUGS" Report bugs to \fBhttp://www.mandrakeexpert.com/\fR. .SH "SEE ALSO" \fIxdm\fR(1) +.SH "AUTHOR" +Created by Camille Bégnis 12/28/99 - Modified by Bernard Lang 08/09/03. +.br +Last modified: August 21, 2003. .SH COPYRIGHT -Copyright \(co 1999 MandrakeSoft. +Copyright \(co 1999-2003 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. |