
So, it is highly recommended to check with urpmf /etc/X11/wmsession.d/NN that NN is not already taken.Īdd a file to describe the new display manager in /usr/share/X11/dm.d. Having 2 files with the same numbers is possible, but some programs ( for example: Xtart ) assume that no files have the same number. The first is KDE, and the ( current ) last is pekwm ( 30 ). The name of the session file is always NNname, with NN the position in the list, and name is the name as defined in the file. The script can assume that it is launched with X initialized, by xinit usually. Nowadays there is no more need to use %make_session in %post and %postun, this is automagically handled by RPM filetriggersįor consistency, a wm called mywm should have a script called startmywm, if a user wants to launch it from the command line without searching too much. In practice, you will always see almost the same line:Īll you have to do is to drop a session file in the /etc/X11/wmsession.d/ directory. The rest of the file is the script used to launch the wm. The file should have the +x bit set in order to be taken into account. Then, EXEC is the executable used to launch the program.

chksession does not take it into account, for now.ĭESC is the description, and is'nt shown either: it is ignored by the chksession script. Then, the icon, but right now, no dm uses it. rpmold and ~ are not taken into account.įirst NAME is the name of the wm, displayed in the desktop manager. The current script use chksession to read the different session files and to modify the config file of the different dm. It updates the configuration of kdm and of gdm. %make_session would only run the program /usr/sbin/fndSession.

Nowadays there is no more need to use %make_session in %post and %postun to update dm config, this is automagically handled by RPM filetriggers This directory is used to store information about the different window managers ( or wm in short) that can be accessed by the different display managers ( also called a dm, or a login manager ).Įach dm uses different configuration files, so to update their configuration, you should drop a file in the /etc/X11/wmsession.d directory.
