You are not logged in.

#1 2016-06-01 18:48:32

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

What is wrong with my X Keyboard Layout Setting

Hello,

recently I set up a fresh Arch installation. While the keyboard works like it should on my two other Arch machines, I am unable to get the German keyboard layout working on that machine. The correct layout works using the console, but not on X

% localectl
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: de-latin1-nodeadkeys
      X11 Layout: de
       X11 Model: pc105
     X11 Variant: nodeadkeys

So for me eveything looks ok, chromium and kde konsole are using German localizations, but not keyboard. On SDDM I am unable to select another layout but the US one.

Thanks for any ideas!

Last edited by Osiris (2016-06-01 18:50:34)

Offline

#2 2016-06-01 18:50:05

mis
Member
Registered: 2016-03-16
Posts: 234

Re: What is wrong with my X Keyboard Layout Setting

What does localectl say?

Offline

#3 2016-06-01 18:51:26

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: What is wrong with my X Keyboard Layout Setting

Sorry, I prematurely hit the Send button. Now with localectl output like it should.

Offline

#4 2016-06-11 11:00:32

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: What is wrong with my X Keyboard Layout Setting

Dare to bump it up... Question is still open.

Offline

#5 2016-06-11 18:28:10

mis
Member
Registered: 2016-03-16
Posts: 234

Re: What is wrong with my X Keyboard Layout Setting

The output of localectl looks good to me, too.
Do you have any files (higher numbered than 00-keyboard.conf) that contain keyboard configurations in /etc/X11/xorg.conf.d/ ?

Offline

#6 2016-06-11 19:02:04

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: What is wrong with my X Keyboard Layout Setting

Osiris wrote:

Dare to bump it up... Question is still open.

Can this help?

To get system where your locale is en-US.UTF-8 (assuming you want utf-8, which is recommended) and keyboard layout in both X.Org and virtual consoles is de-latin1-nodeadkeys, do these steps:

uncomment line "en-US.UTF-8" from /etc/locale.gen (e.g. sed -i 's/#en-US.UTF-8/en-US.UTF-8/' /etc/locale.gen)
locale-gen
echo LANG=en-US.UTF-8 > /etc/locale.conf
localectl set-keymap de-latin1-nodeadkeys
localectl set-x11-keymap de-latin1-nodeadkeys
Sidenote: localectl set-keymap writes given keymap to /etc/vconsole.conf to variable KEYMAP.

I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#7 2016-06-12 09:43:48

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: What is wrong with my X Keyboard Layout Setting

No, sorry, changed nothing. $LANG is set, localectl gives

System Locale: LANG=de_DE.UTF-8
       VC Keymap: de-latin1-nodeadkeys
      X11 Layout: de
       X11 Model: pc105
     X11 Variant: nodeadkeys
     X11 Options: terminate:ctrl_alt_bksp

as quoted above. Still, sddm and X are using US keyboard layout. However, I worked around by modifying

# cat /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears

setxkbmap -layout de -variant nodeadkeys

Best Regards, still hoping for a hint what the actual problem is.

Florian

Offline

Board footer

Powered by FluxBB