Japanese keyboard layout is incorrct in the case of upgrading 7.10 to 8.04

Bug #217627 reported by Jun Kobayashi
4
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Hardy by Jun Kobayashi

Bug Description

Binary package hint: xkeyboard-config

After upgrading Ubuntu 7.10 to 8.04 on a PC with Japanese keyboard, following error message spawns at each login, and the '_' key won't work.
On clean installed 8.10 with the same PC and keyboard, no errors are shown, and all key works perfectly.

---
Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
10400090

If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

Revision history for this message
Jun Kobayashi (jkbys) wrote :

Results of commands shown in error message.

Results on a PC upgraded 7.10 to 8.04 as follows:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "jp106", "jp,jp", "latin,","grp:alt_shift_toggle,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "xorg", "jp106", "jp,jp", "latin,","grp:alt_shift_toggle,grp_led:scroll"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model =
 overrideSettings = true
 options = []

Results on a PC clean installed 8.04 as follows:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "jp106", "jp,jp", "106,","grp:alt_shift_toggle,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "xorg", "jp106", "jp,jp", "106,","grp:alt_shift_toggle,grp_led:scroll"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model =
 overrideSettings = true
 options = []

Revision history for this message
Jun Kobayashi (jkbys) wrote :

diff of xorg.conf as follows:

$ diff -ru xorg.conf.error xorg.conf.good
--- xorg.conf.error 2008-04-15 18:03:51.000000000 +0900
+++ xorg.conf.good 2008-04-15 18:03:39.000000000 +0900
@@ -20,7 +20,7 @@
        Option "XkbRules" "xorg"
        Option "XkbModel" "jp106"
        Option "XkbLayout" "jp,jp"
- Option "XkbVariant" "latin,"
+ Option "XkbVariant" "106,"
        Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
 EndSection

Revision history for this message
Jun Kobayashi (jkbys) wrote :
  • jp Edit (5.8 KiB, text/plain)

This problem seem to be caused that new xorg doesn't support Option "XkbVariant" "latin," for Japanese 106 keyboards, but the upgrade program doesn't rewrite xorg.conf to change "latin," to "106,".

Possible two solutions:
a) xkeyboard-config supports Option "XkbVariant" "latin,".
b) upgrade program changes "latin," to "106," in the case of Japanese Keyboard

a) is better solution than b). This is because there are many xorg.conf examples for Japanese users on many web site including Option "XkbVariant" "latin,".
If xkeyboard-config remain the current configuration for JP keybaords, many Japanese users will be puzzled.

I'm attaching updated /usr/share/X11/xkb/symbols/jp file which supports "latin,".
I hope this file included in new xkeyboard-config package if OK.

Revision history for this message
BB (benkasminbullock) wrote :

Repeat of this bug. Please fix it.

Revision history for this message
David Nemeskey (nemeskeyd) wrote :

Same problem on a friend's box. I second Jun that solution a) would be better. Is solution b) even feasible after the upgrade to Hardy?

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi jkbys,

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the latest development release of Ubuntu? (ISOs are available from cdimage.ubuntu.com)

If it remains an issue, could you also attach a new /var/log/Xorg.0.log?
Thanks in advance.

The output of lspci -vvnn would also be worth having.

Changed in xkeyboard-config:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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