You are not logged in.
After waking up the computer from suspension or using my KVM-switch, the keyboard layout is pretty messed up.
"qwertzuiopü+" becomes ".,ñpyfgchl"
"asdfghjklöä#" becomes "aoeuidrtnsḉ"
"<yxcvbnm,.-" becomes "<-qjkxbmwvz"
I know the origin of the problem is that XKB is only set by my .xinitrc. But how can I bypass this? How can I set XKB with the German layout by default?
Last edited by Dun (2015-01-21 13:41:50)
Offline
Try a conf file in /etc/X11/xorg.conf.d. Here's mine:
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
Driver "evdev"
Option "XkbLayout" "carpalx"
Option "XkbOptions" "ctrl:swapcaps"
EndSection
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Try a conf file in /etc/X11/xorg.conf.d. Here's mine:
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf # Read and parsed by systemd-localed. It's probably wise not to edit this file # manually too freely. Section "InputClass" Identifier "system-keyboard" Driver "evdev" Option "XkbLayout" "carpalx" Option "XkbOptions" "ctrl:swapcaps" EndSection
Ah thank you very much!
Offline