You are not logged in.
I am having troubles using a German keyboard with X environments (using awesome wm, i3wm or gnome). Here is what localectl outputs:
System Locale: LANG=en_US.UTF-8
VC Keymap: de-latin1-nodeadkeys
X11 Layout: de
X11 Model: pc105
X11 Variant: nodeadkeys
So it looks like the settings are correct. But all I get is an US American keyboard layout. This is kind of theired, because yesterday it worked correctly. I did not do anything but starting the notbook today. What else can I do to enforce a German keyboard keymap?
Last edited by zunder (2016-04-24 20:11:29)
Offline
Try the next:
Open a terminal emulator from your X-windows session (e.g. urxvt or gnome-terminal) and run setxkbmap command:
setxkbmap de
If it works, you can make it permanent with localectl:
localectl set-x11-keymap de
More info:
https://wiki.archlinux.org/index.php/Ke … ard_layout
Last edited by Alber (2016-04-23 12:41:51)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
setxkbmap de
Did the trick. However, using localectl as you suggested does not change the behavior. I am just executing setxkbmap de in .xinitrc in order to do it on start up.
Offline
... using localectl as you suggested does not change the behavior.
I don't know why the latter didn't work.
Maybe it is because localectl stablishes a global option which it is overridden by another local option as setxkbmap in .xinitrc.
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline