Hi,
I'm using the LXDM login manager on all my Slackware desktops, and I have a small but nagging problem with it.
Login managers shipping with Slackware restart X upon logout, which has a positive side effect: on the login screen, the system reverts to the default X keyboard layout defined in /etc/X11/xorg.conf.d/90-keyboard-layout.conf, for example:
Code:
Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "ch"
Option "XkbVariant" "fr"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Now on systems with many users - like in our local school or the public library - some folks define a custom keyboard layout different from the default layout. In Xfce you can define that (like in KDE or GNOME), and under the hood, there's some command like 'setxkbmap -layout ch -variant de' or 'setxkbmap -layout fr' running.
Now here's the problem. When one of those users logs out, the login screen keeps the last defined custom layout, which will eventually become a problem for the subsequent user typing in his login/password.
And here's the question. How can I get LXDM to behave like XDM or KDM, e. g. respawn so the keyboard gets back to its default layout?
Cheers,
Niki