← Back to team overview

oem-qa team mailing list archive

[Bug 196277] Re: A GNOME login without keypress dosn't set GNOME keyboard settings

 

This bug unfortunately doesn't seem to be fixed just yet. I'm getting
this bug on Ubuntu 9.04 x64 with all updates installed.

** Changed in: xorg-server (Ubuntu)
       Status: Fix Released => Confirmed

-- 
A GNOME login without keypress dosn't set GNOME keyboard settings 
https://bugs.launchpad.net/bugs/196277
You received this bug notification because you are a member of OEM
Services QA, which is subscribed to The Dell Mini Project.

Status in Dell Inspiron Mini with Custom Dell UI: Confirmed
Status in libxklavier - XKB foundation libary: Invalid
Status in X.Org X server: Fix Released
Status in “libgnomekbd” source package in Ubuntu: Invalid
Status in “libxklavier” source package in Ubuntu: Invalid
Status in “xorg” source package in Ubuntu: Invalid
Status in “xorg-server” source package in Ubuntu: Confirmed
Status in “xserver-xorg-input-keyboard” source package in Ubuntu: Invalid
Status in libgnomekbd in Ubuntu Hardy: Invalid
Status in libxklavier in Ubuntu Hardy: Invalid
Status in xorg in Ubuntu Hardy: Invalid
Status in xorg-server in Ubuntu Hardy: Triaged
Status in xserver-xorg-input-keyboard in Ubuntu Hardy: Invalid
Status in “libgnomekbd” source package in Baltix: In Progress
Status in Fedora: Fix Released
Status in openSUSE: Fix Released

Bug description:
(This report used to cover two separate but similar looking bugs. We split them now, and here we describe one of the two bugs. The other bug, Bug #251443, has to do with some shortcuts to switch between layouts not working. An example is the Alt+AltGr shortcut).

If you enable autologin (it is in the settings, System/Administration/Login window/Security/Enable Automatic Login), then any settings about your keyboard layout including the shortcut to switch between layouts do not work on your next reboot.

In other words, the system ignores any keyboard layout settings that have been configured in GNOME.

This issue has been reported upstream (Freedesktop Project), and the link is shown above.

A good description of the root of the problem is at this post by Peter Hutterer,
http://lists.freedesktop.org/archives/xorg/2008-July/036947.html

"setting the keyboard without a device flag changes the VCK.  On the first keypress of a device however this setting is overwritten by the keyboard that is actually being used. If you hit a key before gnome sets the keyboard layout, the phys.  keyboard's settings are already copied into the VCK and thus gnome can overwrite them again. consecutive keypresses don't overwrite it again, since the phys. keyboard doesn't change.

"The correct solution here is to let gnome set the keyboard settings on each physical device they apply to."

A workaround is to run "setxkbmap" (command line utility), which reapplies the layout settings in GNOME.

Another workaround is to make a small change in the Keyboard layout settings, something that implicitly reapplies the settings from GNOME. For example, you can change the order of the layouts, then change them back.