Keyboard is incorrectly set up

Bug #324480 reported by Vincent
4
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-settings-daemon

Ubuntu 8.10
gnome-settings-daemon version 2.24.0-0ubuntu3.3

My keyboard is configured like this in /etc/default/console-setup:
XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="oss"
XKBOPTIONS="lv3:alt_switch"

I use the evdev keyboard driver, no particular customization in /etc/X11/xorg.conf

After I have logged into my Gnome session, the alt keys stop working. xev reports the right values for those keys (ISO_Level3_Shift), but when I make a combination to get the 3rd character on the key I get the 'normal' one instead. Although the gnome-keyboard-properties applet also shows the right values, I have to tick and untick an another option in order to (reload the keyboard configuration, I guess, and) make them work again.
In gdm, when entering my user name, the alt keys work properly. If I untick the "/apps/gnome_settings_daemon/plugins/keyboard/active" key in the gconf editor, unlog and log in again, then they also work properly.

I tried to modify the oss variant to directly include alt_switch (adding the line "include "level3(alt_switch)"") instead of using the XKBOPTIONS variable, but the result is the same.

I am happy to keep the keyboard plug-in of gnome-settings-daemon deactivated, as I am confident enough to customize my keyboard using console-setup. However, I am not sure this doesn't have any side effect that I haven't noticed yet, plus ideally it should remain transparent and not do anything if I haven't used gnome-keyboard-properties to customize my keyboard layout.

Please ask if any other detail is needed.
Thanks for this great distribution!

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, can you run gconftool -R /desktop/gnome/peripherals/keyboard/kbd and add the log to the bug?

Changed in gnome-settings-daemon:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Vincent (vhennebert) wrote :

Well, the keys have their default values. After modifying my /etc/default/console-setup file, I explicitly reset them (gconftool --recursive-unset /desktop/gnome/peripherals/keyboard/kbd), hoping that Gnome would then directly pick up the values from X. Here's the result of the command at the moment:
 layouts = []
 model =
 options = []

Revision history for this message
Sebastien Bacher (seb128) wrote :

to confirm by somebody having the issue

Changed in gnome-settings-daemon (Ubuntu):
status: Incomplete → New
Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

I have a similar problem that might be related.

After upgrading to 9.04 Beta, my shift buttons no longer work until a re-apply the current keyboard settings and re-login.

How can I help track down this one?

Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

Further testing reveals that my problem is fixed by simply logging out and logging in again (no need to mess around with keyboard settings).

Perhaps this is some kind of race condition in the login process?

Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

More info: My problem only happens with autologin enabled. Perhaps this isn't the same issue after all?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the autologin issue seems to be a different one, does anybody still get the original bug in jaunty?

Revision history for this message
Vincent (vhennebert) wrote :

Hi,

I've just upgraded my system to Jaunty, re-enabled the keyboard plug-in and the problem no longer seems to show up. So I believe this bug has somehow been fixed in Jaunty and this bug report can be closed.

Thanks,
Vincent

Revision history for this message
Christian Funder Sommerlund (zero3) wrote :

Cool.

I found a more fitting report for my bug at https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/196277, so I'm closing this one as fixed :).

Changed in gnome-settings-daemon (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.