https://wiki.archlinux.org/api.php?action=feedcontributions&user=Zemnmez&feedformat=atomArchWiki - User contributions [en]2024-03-28T16:12:38ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=CDM&diff=143304CDM2011-05-31T15:51:05Z<p>Zemnmez: </p>
<hr />
<div>[[Category:Boot process (English)]]<br />
[[Category:Display managers (English)]]<br />
[[Category:Eye candy (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n|CDM}}<br />
'''[http://cdm.ghost1227.com CDM]''' is a minimalistic, yet full-featured replacement for login-managers like [[slim]], [[Automatic_login_manager_startup#Installation|kdm]], [[Automatic_login_manager_startup#Installation|gdm]] and [[qingy]] that provides a fast, dialog-based login system without the overhead of the X Window System or the instability of qingy. Written in pure bash, CDM has no other dependencies, yet supports multiple users/sessions and can start virtually any DE/WM.<br />
<br />
A package is available in the [http://aur.archlinux.org/packages.php?K=cdm AUR].<br />
<br />
==Configuration==<br />
<br />
You can configure CDM by editing {{Filename|/etc/cdmrc}}. It is fully documented and should be relatively easy to figure out.<br />
<br />
At least these should be edited before you start using CDM:<br />
wmbinlist=(awesome openbox-session startkde startxfce4 gnome-session)<br />
<br />
wmdisplist=(Awesome Openbox KDE Xfce Gnome)<br />
Add whatever WM/DE you have.<br />
<br />
If you typically start your WM from ''.xinitrc'' you can enable the ''usexinit'' option in {{Filename|/etc/cdmrc}}. You can also start your WM from a script, by including the path in your binlist, like so:<br />
<br />
wmbinlist=(/path/to/start-script)<br />
<br />
===/etc/inittab or /etc/rc.conf===<br />
After installing CDM and configuring it to your liking, you should edit {{Filename|/etc/inittab}} or {{Filename|/etc/rc.conf}} to make sure no other display managers get started.<br />
<br />
*{{Filename|/etc/inittab}}<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
#x:5:respawn:/usr/sbin/gdm -nodaemon<br />
#x:5:respawn:/usr/bin/kdm -nodaemon<br />
#x:5:respawn:/usr/bin/slim >& /dev/null<br />
They should all be commented.<br />
<br />
*{{Filename|/etc/rc.conf}}<br />
DAEMONS=(... !gdm)<br />
gdm (or kdm, or xdm, ...) should be disabled or removed from your DAEMONS array.<br />
<br />
CDM itself will start automatically, hence there is no need for further configuration in this respect.<br />
<br />
===Theming===<br />
Themes are located in {{Filename|/usr/share/cdm/themes}}, and can be switched via your {{Filename|/etc/cdmrc}}.<br />
<br />
The theme syntax is fairly self explanatory, the best way to start a new theme would be to duplicate and edit an existing theme.<br />
<br />
==Starting X==<br />
<br />
Login to the console and select your prefered session (or console, if allowed) from the menu.<br />
<br />
Additional users may be logged in by switching to tty1 (ctrl+alt+f1). If the user is already logged in, CDM will automatically activate their pre-existing session.<br />
<br />
==Own commands==<br />
{{Note|CDM now has an option to enable built-in shutdown support, however, this section is left as a general reference.}}<br />
<br />
If you want to add entries like shutdown which needs parameters you have to save the command in an executable script and add the script with full path to the wmbinlist array.<br />
E.g. shutdown:<br />
*/script/shutdown<br />
#!/bin/bash<br />
<br />
shutdown -h now<br />
<br />
*/etc/cdmrc<br />
wmbinlist=( ... /script/shutdown ... )<br />
<br />
==More resources==<br />
[http://cdm.ghost1227.com Homepage (Standard)] / [http://cdm.ghost1227.com/X11 Homepage (Graphic)]<br />
<br />
[http://bbs.archlinux.org/viewtopic.php?id=84408 The Console Display Manager] - Archlinux Forums thread about CDM<br />
<br />
[http://aur.archlinux.org/packages.php?ID=31879 Aur package]</div>Zemnmezhttps://wiki.archlinux.org/index.php?title=CDM&diff=143303CDM2011-05-31T15:50:34Z<p>Zemnmez: /* Theming */</p>
<hr />
<div>[[Category:Boot process (English)]]<br />
[[Category:Display managers (English)]]<br />
[[Category:Eye candy (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n|CDM}}<br />
'''[http://cdm.ghost1227.com CDM]''' is a minimalistic, yet full-featured replacement for login-managers like [[slim]], [[Automatic_login_manager_startup#Installation|kdm]], [[Automatic_login_manager_startup#Installation|gdm]] and [[qingy]] that provides a fast, dialog-based login system without the overhead of the X Window System or the instability of qingy. Written in pure bash, CDM has no other dependencies, yet supports multiple users/sessions and can start virtually any DE/WM.<br />
<br />
A package is available in the [http://aur.archlinux.org/packages.php?K=cdm AUR].<br />
<br />
==Configuration==<br />
<br />
You can configure CDM by editing {{Filename|/etc/cdmrc}}. It is fully documented and should be relatively easy to figure out.<br />
<br />
At least these should be edited before you start using CDM:<br />
wmbinlist=(awesome openbox-session startkde startxfce4 gnome-session)<br />
<br />
wmdisplist=(Awesome Openbox KDE Xfce Gnome)<br />
Add whatever WM/DE you have.<br />
<br />
If you typically start your WM from ''.xinitrc'' you can enable the ''usexinit'' option in {{Filename|/etc/cdmrc}}. You can also start your WM from a script, by including the path in your binlist, like so:<br />
<br />
wmbinlist=(/path/to/start-script)<br />
<br />
===/etc/inittab or /etc/rc.conf===<br />
After installing CDM and configuring it to your liking, you should edit {{Filename|/etc/inittab}} or {{Filename|/etc/rc.conf}} to make sure no other display managers get started.<br />
<br />
*{{Filename|/etc/inittab}}<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
#x:5:respawn:/usr/sbin/gdm -nodaemon<br />
#x:5:respawn:/usr/bin/kdm -nodaemon<br />
#x:5:respawn:/usr/bin/slim >& /dev/null<br />
They should all be commented.<br />
<br />
*{{Filename|/etc/rc.conf}}<br />
DAEMONS=(... !gdm)<br />
gdm (or kdm, or xdm, ...) should be disabled or removed from your DAEMONS array.<br />
<br />
CDM itself will start automatically, hence there is no need for further configuration in this respect.<br />
<br />
===Theming===<br />
Themes are located in {{Filename|/usr/share/cdm/themes}}, and can be switched via your {{Filename|/etc/cdmrc}}.<br />
The theme syntax is fairly self explanatory, the best way to start a new theme would be to duplicate and edit an existing theme.<br />
<br />
==Starting X==<br />
<br />
Login to the console and select your prefered session (or console, if allowed) from the menu.<br />
<br />
Additional users may be logged in by switching to tty1 (ctrl+alt+f1). If the user is already logged in, CDM will automatically activate their pre-existing session.<br />
<br />
==Own commands==<br />
{{Note|CDM now has an option to enable built-in shutdown support, however, this section is left as a general reference.}}<br />
<br />
If you want to add entries like shutdown which needs parameters you have to save the command in an executable script and add the script with full path to the wmbinlist array.<br />
E.g. shutdown:<br />
*/script/shutdown<br />
#!/bin/bash<br />
<br />
shutdown -h now<br />
<br />
*/etc/cdmrc<br />
wmbinlist=( ... /script/shutdown ... )<br />
<br />
==More resources==<br />
[http://cdm.ghost1227.com Homepage (Standard)] / [http://cdm.ghost1227.com/X11 Homepage (Graphic)]<br />
<br />
[http://bbs.archlinux.org/viewtopic.php?id=84408 The Console Display Manager] - Archlinux Forums thread about CDM<br />
<br />
[http://aur.archlinux.org/packages.php?ID=31879 Aur package]</div>Zemnmezhttps://wiki.archlinux.org/index.php?title=CDM&diff=143302CDM2011-05-31T15:50:06Z<p>Zemnmez: Added a small section explaining the basics of themes</p>
<hr />
<div>[[Category:Boot process (English)]]<br />
[[Category:Display managers (English)]]<br />
[[Category:Eye candy (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n|CDM}}<br />
'''[http://cdm.ghost1227.com CDM]''' is a minimalistic, yet full-featured replacement for login-managers like [[slim]], [[Automatic_login_manager_startup#Installation|kdm]], [[Automatic_login_manager_startup#Installation|gdm]] and [[qingy]] that provides a fast, dialog-based login system without the overhead of the X Window System or the instability of qingy. Written in pure bash, CDM has no other dependencies, yet supports multiple users/sessions and can start virtually any DE/WM.<br />
<br />
A package is available in the [http://aur.archlinux.org/packages.php?K=cdm AUR].<br />
<br />
==Configuration==<br />
<br />
You can configure CDM by editing {{Filename|/etc/cdmrc}}. It is fully documented and should be relatively easy to figure out.<br />
<br />
At least these should be edited before you start using CDM:<br />
wmbinlist=(awesome openbox-session startkde startxfce4 gnome-session)<br />
<br />
wmdisplist=(Awesome Openbox KDE Xfce Gnome)<br />
Add whatever WM/DE you have.<br />
<br />
If you typically start your WM from ''.xinitrc'' you can enable the ''usexinit'' option in {{Filename|/etc/cdmrc}}. You can also start your WM from a script, by including the path in your binlist, like so:<br />
<br />
wmbinlist=(/path/to/start-script)<br />
<br />
===/etc/inittab or /etc/rc.conf===<br />
After installing CDM and configuring it to your liking, you should edit {{Filename|/etc/inittab}} or {{Filename|/etc/rc.conf}} to make sure no other display managers get started.<br />
<br />
*{{Filename|/etc/inittab}}<br />
#x:5:respawn:/usr/bin/xdm -nodaemon<br />
#x:5:respawn:/usr/sbin/gdm -nodaemon<br />
#x:5:respawn:/usr/bin/kdm -nodaemon<br />
#x:5:respawn:/usr/bin/slim >& /dev/null<br />
They should all be commented.<br />
<br />
*{{Filename|/etc/rc.conf}}<br />
DAEMONS=(... !gdm)<br />
gdm (or kdm, or xdm, ...) should be disabled or removed from your DAEMONS array.<br />
<br />
CDM itself will start automatically, hence there is no need for further configuration in this respect.<br />
<br />
===Theming===<br />
Themes are located in {{Filename|/usr/share/cdm/themes}}, and can be switched via your {{Filename|/etc/cdmrc}}.<br />
The theme syntax is fairly self explanatory, the best way wo start a new theme would be to duplicate and edit an existing theme.<br />
<br />
==Starting X==<br />
<br />
Login to the console and select your prefered session (or console, if allowed) from the menu.<br />
<br />
Additional users may be logged in by switching to tty1 (ctrl+alt+f1). If the user is already logged in, CDM will automatically activate their pre-existing session.<br />
<br />
==Own commands==<br />
{{Note|CDM now has an option to enable built-in shutdown support, however, this section is left as a general reference.}}<br />
<br />
If you want to add entries like shutdown which needs parameters you have to save the command in an executable script and add the script with full path to the wmbinlist array.<br />
E.g. shutdown:<br />
*/script/shutdown<br />
#!/bin/bash<br />
<br />
shutdown -h now<br />
<br />
*/etc/cdmrc<br />
wmbinlist=( ... /script/shutdown ... )<br />
<br />
==More resources==<br />
[http://cdm.ghost1227.com Homepage (Standard)] / [http://cdm.ghost1227.com/X11 Homepage (Graphic)]<br />
<br />
[http://bbs.archlinux.org/viewtopic.php?id=84408 The Console Display Manager] - Archlinux Forums thread about CDM<br />
<br />
[http://aur.archlinux.org/packages.php?ID=31879 Aur package]</div>Zemnmez