One of those nasty bugs you’ll never come up with a solution for ages and you just live with it:
- I like using fresh software, so it’s always a Debian Testing or Sid even
- My preferred keyboard is the Logitech K800 Wireless (because it’s illuminated, and hacking is just tun)
- I’m using KDE and a german keyboard layout
Well and it hit me, that once I login to the KDE Greeter, I cannot use the system wide german locales, it just ignores those settings and uses the english ones. The problem is described within this bug and leads to a usb driver problem in the kernel > 3.2 only with logitech unified adapters, triggering an Xorg bug, resetting the default locales. Funny eh?
I’m not sure whether this will be fixed (kernel 3.9.x still got the problem), but the current workaround is making the KDM greeter use the Xsetup with our very own keyboard map (inspired by here)
Create a fixed backup, because updates may override that file.
# vim /etc/kde4/kdm/Xsetup setxkbmap de # cp /etc/kde4/kdm/Xsetup /etc/kde4/kdm/Xsetup.localefix # service kdm restart
Now the german locales work again on KDE login (and likely other desktops too, as it’s an Xorg bug).