Error activating XKB configuration: Japanese keyboard with US layout

Bug #209493 reported by Alex Fraser
2
Affects Status Importance Assigned to Milestone
libxklavier (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

After upgrading to Hardy from Gutsy I get an XKB error (attached) when logging in to GNOME. I have a Japanese keyboard which was set to use a US qwerty layout. Since the upgrade the layout seems to have gone back to Japanese.

I haven't manually changed anything in the Keyboard Preferences dialog. The keyboard model is currently set to "Generic 105-key (Intel) PC". There are two layouts: USA and Japan, but neither is checked as the default.

I have an .xmodmap file which filled some holes in the old JP > US keymap in Gutsy. Running xmodmap on that file doesn't produce any errors.

Some information about my system:
libxklavier12 version 3.5-1

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "jp", "jp106", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "jp", "jp106", ""

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us,jp jp106]
 model = pc105
 options = [grp grp:shifts_toggle]
 overrideSettings = true

Revision history for this message
Alex Fraser (alex-phatcore) wrote :
Revision history for this message
Alex Fraser (alex-phatcore) wrote :
Revision history for this message
Alex Fraser (alex-phatcore) wrote :

The error pops up every time I change the Keyboard Model in the Keyboard Preferences dialog. Selecting a default layout hasn't helped.

Revision history for this message
Alex Fraser (alex-phatcore) wrote :
Revision history for this message
Alex Fraser (alex-phatcore) wrote :

I ran:
  sudo dpkg-reconfigure -phigh xserver-xorg
but the problem persists. The outputs of the debug commands in the error dialog have changed:

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "jp106", "jp,jp", "latin,", "grp:shifts_toggle,lv3:ralt_switch,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "xorg", "jp106", "jp,jp", "latin,", "grp:shifts_toggle,lv3:ralt_switch,grp_led:scroll"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us,jp jp106]
 model = jp106
 options = [grp grp:shifts_toggle]
 overrideSettings = true

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in libxklavier:
status: New → Incomplete
Revision history for this message
Alex Fraser (alex-phatcore) wrote :

This bug doesn't seem to be present in 8.10. Thanks for chasing it up!

The error was still appearing after the upgrade, but I bumped the settings in Keyboard Preferences, which I guess caused the config to be re-written. The outputs of the above commands are now:

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "jp106", "jp,jp", "106,", "grp:shifts_toggle,lv3:ralt_switch,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "evdev", "jp106", "jp,us,jp", ",,kana", "grp:shifts_toggle,lv3:ralt_switch,grp_led:scroll"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [jp,us,jp kana]
 model = jp106
 options = []

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.