Bug 5591 - "PC-98xx Series" listed as a country name
Summary: "PC-98xx Series" listed as a country name
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-14 02:22 UTC by Ani
Modified: 2006-04-05 15:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
a screenshot (21.35 KB, image/png)
2006-01-14 02:24 UTC, Ani
Details

Description Ani 2006-01-14 02:22:25 UTC
When I add "PC-98xx Series" keyboard layout (see screenshot) xkb gives an error
message. Here are the details:
$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc104", "us,am", ",phonetic", "grp:alts_toggle"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us,am       phonetic,nec_vndr/jp]
 model = pc104
 options = [grp grp:alts_toggle]
 overrideSettings = true
Comment 1 Ani 2006-01-14 02:24:00 UTC
Created attachment 4341 [details]
a screenshot
Comment 2 Sergey V. Udaltsov 2006-01-14 05:32:52 UTC
Well the story is that PC98 keyboard are intended for Japan keyboard only,
originally. I did not have a look at this layout myself.
Could you please check whether you can setup your configuration using setxkbmap
utility, without gnome?
Comment 3 Ani 2006-01-14 05:48:14 UTC
How do I check that?
I tried "setxkmap nec_vndr/jp" and it gave an error.
If it is only for Japan shouldn't it be under country "Japan"? rather than being
as a separate country.
Comment 4 Sergey V. Udaltsov 2006-01-14 05:52:13 UTC
(In reply to comment #3)
> How do I check that?
> I tried "setxkmap nec_vndr/jp" and it gave an error.
setxkbmap -model pc98 -layout nec/jp
Comment 5 Ani 2006-01-14 05:56:18 UTC
"setxkbmap -model pc98 -layout nec/jp" works.
Comment 6 Ani 2006-01-14 05:58:21 UTC
this means that it is a gnome bug.
Comment 7 Sergey V. Udaltsov 2006-01-14 06:01:16 UTC
No, do not hurry. It is xkeyboard-config bug. In the rules, it should be
nec_vndr instead of just nec. I will fix it. So the correct command line would be
setxkbmap -model pc98 -layout nec_vndr/jp
Comment 8 Ani 2006-01-14 06:09:24 UTC
ok.
In the screenshot PC-98xx is listed in the top menu, where all the countries are
listed. Shouldn't it be in the submenus?
Comment 9 Sergey V. Udaltsov 2006-01-14 06:24:11 UTC
(In reply to comment #8)
> ok.
> In the screenshot PC-98xx is listed in the top menu, where all the countries are
> listed. Shouldn't it be in the submenus?
It should not be in the layouts at all. Are you sure you are using XKB database
from xkeyboard-config?
Comment 10 Ani 2006-01-14 06:33:48 UTC
I am using modular xorg from Fedora Core development:
$ rpm -qa | grep xkb
libxkbfile-1.0.0-1
xorg-x11-xkb-utils-1.0.0-1
xorg-x11-xkbdata-1.0.0-1
Comment 11 Sergey V. Udaltsov 2006-01-14 06:53:29 UTC
First of all, you are not using xkeyboard-config, you are using xkb data from
xorg (deprecated). Actually, even in xkeyboard-config it is not really correct,
it should be renamed to 'Japan' (and still be in the top level of the tree).

Comment 12 Ani 2006-04-06 07:56:38 UTC
In Ubuntu dapper, xkeyboard-config-0.8-5 "PC-98xx Series" is still listed as a
counrty.
Comment 13 Sergey V. Udaltsov 2006-04-06 08:13:32 UTC
Thanks, fixed in CVS
Comment 14 Sergey V. Udaltsov 2006-04-06 08:13:51 UTC
Committed.
Comment 15 Sergey V. Udaltsov 2006-04-06 08:13:57 UTC
Committed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.