Yup, other Desktop Managers can be used for KDE, not only KDM. For example, the SL 13.04 KDE LiveDVD uses LightDM
(x11-misc/lightdm-kde) instead of KDM (kde-base/kdm), as can be seen in the 13.04 KDE ISO package list
, and the 13.04 KDE LiveDVD installs LightDM to the HDD for the Desktop Manager. Also, some users switch to a different Desktop Manager. That's one of the reasons why users need to provide full information about their current installation when requesting help.
Anyway, if you are using KDM and want NumLock to be active when KDM displays its login screen in X Windows (e.g. to facilitate entering a numeric password), edit the file /usr/share/config/kdm/Xsetup and add the following lines to it:
- Code: Select all
if [ -x /usr/bin/numlockx ]; then
You have already installed x11-misc/numlockx so there is nothing more to do other than reboot. NumLock should then be active when KDM displays the login screen, and you can then login to KDE. I don't have a SL installation using KDM (my two SL installations use LXDM), so I cannot check myself if the above works, but it should do. If it doesn't, try putting the above code at the end of the file /usr/lib64/X11/xdm/Xsetup_0. You can check if the numlockx command works by executing it manually in a Konsole window:
- Code: Select all
BTW the command 'rc-update add numlock default' has nothing to do with numlockx, and nothing to do with X Windows. It is to enable NumLock in the console (i.e. without X Windows running). Furthermore, it is an OpenRC command and has nothing to do with systemd and will not work for systemd.EDIT (21:33 UTC July 18, 2013): I've just tried the above on my main machine which runs Gentoo, and it works. As SL is essentially customised Gentoo with the addition of a binary package manager, there is a reasonable chance that the above will work in SL too.