LightDM does not respect system keyboard layout

Hello there!

I had this problem before, but I was too lazy to note the solution somewhere. Now I changed my keyboard to another type and make, and since that, LightDM and it’s default GTK greeter does not respect my keyboard layout. (Yes, a keyboard change was enough…).

So the problem is: No matter what you set in various places, LightDM and it’s GTK greeter does not respect your system’s default keyboard layout.

The things I’ve tried so far:

  • Edit xorg.conf (and xorg.conf.d/*) adding Xkblayout option everywhere, where it is applicable
  • Edit the settings in YaST, sysconfig

I am continuously searching for specific LightDM settings, but the “good looking” solution would be to have LightDM respect the system wide settings.

Version information:

> uname -a
Linux hgjhome 3.6.5-10-desktop #1 SMP PREEMPT Wed Oct 31 20:15:15 UTC 2012 (cefb3b0) x86_64 x86_64 x86_64 GNU/Linux
> cat /etc/SuSE-release # It's Tumbleweed
openSUSE 12.2 (x86_64)
VERSION = 12.2
CODENAME = Mantis
> lightdm -v
lightdm 1.2.2

Thank you for any reply,
Greg

What helps me to find config files which I don’t know the name of, is looking at the files in a package in Yast. In your case, inspect the LightDM to see if you can find some file in /etc .

Good call there, but no configuration file seem to help me… “xserver-layout” does not control the keyboard layout.
I still have the problem. :frowning:

Appears that this is a known problem:

One of those threads suggests that an update to xkeyboard-config fixed (or at least partially fixed) the issue. Looks like they were talking about fixes applied to v2.5, which likely do not make it into that used by stock openSUSE 12.2 (v2.5.1…). *Assuming *Ubuntu forwarded these upstream, they should be in the version contained in the Xorg (v2.7) or Factory (didn’t check) repos. The requirements for the package are very minimal, so you likely can just grab the new version from either of those repos and apply without problems.