You are not logged in.

#1 2016-04-22 11:02:48

zunder
Member
Registered: 2016-04-22
Posts: 10

[SOLVED] Keymap language issue with arch + x-org

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

#2 2016-04-23 12:37:24

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [SOLVED] Keymap language issue with arch + x-org

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

#3 2016-04-24 20:11:16

zunder
Member
Registered: 2016-04-22
Posts: 10

Re: [SOLVED] Keymap language issue with arch + x-org

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

#4 2016-04-25 09:57:33

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [SOLVED] Keymap language issue with arch + x-org

zunder wrote:

... 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

Board footer

Powered by FluxBB