The Localization Guide suggests to simply add Options "XkbLayout" "de" to /etc/X11/xorg.conf but things are more complicated than that. First of all, xorg.conf does not exist by default. And then if you create one with X -configure it will have a keyboard section that is ignored by Xorg in favor of the evdev driver configuration found in /usr/share/X11/xorg.conf.d/. Please suggest the following code: Section "InputClass" Identifier "keyboard-all" Driver "evdev" Option "XkbLayout" "de" #Option "XkbModel" "pc98" Option "XkbRules" "xorg" Option "XkbVariant" "basic" MatchIsKeyboard "on" EndSection Or as a catchall rule, suggest to "setxkbmap de" in xinitrc. Reproducible: Always
Note that 'Option "XkbRules" "xorg"' is plain invalid for evdev driver and variant might not be needed.
imho there isn't MatchIsKeyboard: works for me with this conf: Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "yes" Option "XkbModel" "pc105" Option "XkbLayout" "it" EndSection
...plus a minor thing I didn't notice at first - there should be a path restriction to '/dev/input/event*'.
I've moved the Gentoo Localization Guide to the Gentoo Wiki at https://wiki.gentoo.org/wiki/Localization/HOWTO. Mind the discussion on it though; a merger of Localization and Localization/HOWTO will be needed.