FS#42406 - [gdm] Messed up keyboard layout when using 3.14.1-1

Attached to Project: Arch Linux
Opened by Tassilo Horn (tsdh) - Thursday, 16 October 2014, 14:38 GMT
Last edited by Jan de Groot (JGC) - Thursday, 16 October 2014, 16:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I use Gnome with GDM for quite some time. Today, I updated from Gnome 3.12.x
to 3.14.1. However, when I log in to Gnome from GDM as I've always done, my
keyboard layout is messed up. I use the German Dvorak layout. The letter and
number keys are all ok, but...

- AltGr is another return
- Super_L is non-functional and xev reports it as "keycode 133 (keysym 0x0, NoSymbol)"
- the up-arrow is now <print>, and the other arrows are also broken
- etc, etc

And this really seems to be GDM's fault. When I just startx from a VT with
"exec gnome-session" in my ~/.xinitrc, the keyboard layout is as it should be.

I've set the severity to high because with GDM Gnome is completely unusable for
me but without it essential features like being able to lock the screen are not
available.

I'm happy to provide any further information on request.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 16 October 2014, 16:44 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Thursday, 16 October 2014, 15:03 GMT
Providing Xorg logs would be nice. Looks like your keyboard type isn't set to evdev here.
Comment by Tassilo Horn (tsdh) - Thursday, 16 October 2014, 15:09 GMT
Ok, it's probably not GDM's fault but by not using GDM the problem doesn't
appear at first.

When I startx and the keyboard layout works just fine I can mess it up simply
by issuing the command

setxkbmap -layout de -variant dvorak -model evdev -rules xorg -option ctrl:nocaps

Well, that's the command I've used for years for setting up my keyboard layout
and it always worked fine...

Looking at the pacman.log I see that with the gnome upgrade today there was a
new package pulled as a dependency for mutter with the suspicious name
extra/libxkbcommon-x11. Maybe the problem is somewhere in that...
Comment by Tassilo Horn (tsdh) - Thursday, 16 October 2014, 15:26 GMT
Ah, the problem is the option "-rules xorg". Without that, the layout stays
sane. I've had

-layout de -variant dvorak -model evdev -rules xorg -option ctrl:nocaps

in /etc/X11/Xkbmap which is executed by GDM scripts, and then the "-rules xorg"
caused the pain. So basically this report can be closed as "user error".

Loading...