After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144159 - "keyboard model" list is not available
"keyboard model" list is not available
Status: RESOLVED DUPLICATE of bug 152105
Product: gnome-control-center
Classification: Core
Component: Keyboard
git master
Other Solaris
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-11 12:46 UTC by Leena Gunda
Modified: 2005-02-03 01:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
patch which fixes the bug (5.39 KB, patch)
2004-06-11 12:51 UTC, Leena Gunda
none Details | Review

Description Leena Gunda 2004-06-11 12:46:33 UTC
This bug is applicable to any X server which does not have a rules file which
specifies the available keyboard layouts and the various options. 

Eg: This bug is seen on Solaris as Xsun does not provide a rules file

Steps to reproduce:
1. Select launch-> preference-> keyboard-> behavior
2. Select the "layout" tab
3. Select dropdown box in the "keyboard model"

Observation and bug:
No keyboard model listed in the dropdown box.
The "layout option" tab also does not list any options.
Comment 1 Leena Gunda 2004-06-11 12:49:21 UTC
The available keyboard layouts and the options are listed from a rules file
provided by X. For eg: /usr/X11R6/lib/X11/xkb/rules/xfree86.xml for XFree86. But
if X does not provide this file the above bug is seen.

If XKB support is not available and if there is no rules file present, then
hiding the layout and option tabs solves the bug.

Attaching a patch shortly.
Comment 2 Leena Gunda 2004-06-11 12:51:15 UTC
Created attachment 28595 [details] [review]
patch which fixes the bug
Comment 3 Sergey V. Udaltsov 2004-08-27 14:03:31 UTC
Wait a sec. Now libxklavier goes with its own "fallback" copy of xfree86.xml (as
Jody advised). Was it installed on your system? 
Comment 4 Leena Gunda 2004-09-02 11:55:39 UTC
The "fallback" copy of xfree86.xml is used only if for some reason the rules
file provided by Xserver cannot be stat'd. The rules filename is obtained from
_XKB_RULES_NAMES atom. In case of Xsun, _XKB_RULES_NAMES atom is not set and
hence  XklConfigLoadRegistry () returns flase and no attempt is made to use the
fallback file.
Comment 5 Kjartan Maraas 2004-10-14 21:57:32 UTC
Sergey, does this mean the patch is still needed? Or does it mean libxklavier
should be changed?
Comment 6 Kjartan Maraas 2005-01-04 00:08:49 UTC
Sergey?
Comment 7 Sergey V. Udaltsov 2005-02-03 01:10:34 UTC
There was a long discussion about "bad" servers...

*** This bug has been marked as a duplicate of 152105 ***