References to nonexistent keyboard layouts in xorg.xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Invalid
|
Medium
|
Daniel Stone |
Bug Description
Summary:
/etc/X11/
(such as "ro_us", line 3461). I believe a quick fix would be to simply remove
these invalid references. This problem is not Ubuntu-specific, the problem
exists (silently) in Debian Sid, as XKB error dialogs were only added in GNOME 2.10.
Details:
When trying to select that layout using gnome-keyboard-
message is displayed (this comes from gnome-settings-
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
60802000
If you report this situation as a bug, please include:
- The result of <b>xprop -root | grep XKB</b>
- The result of <b>gconftool-2 -R /desktop/
The results of those commands are:
$ xprop -root |grep XKB
_XKB_RULES_
_XKB_RULES_
$ gconftool-2 -R /desktop/
layouts = [us,ro ro_us]
model = pc104
overrideSettings = false
options = [grp grp:alts_toggle]
Also, the following message is logged in /var/log/
(EE) Error loading keymap /usr/X11R6/
I did some more digging... In /etc/X11/ xkb/symbols/ pc/ro for some reason the
variant is called "us_ro" not "ro_us". Simply renaming either the symbol file or
the XML file solves the problem.
I've made a script that tries to load all layouts/variants in xorg.xml with
setxkbmap. Here's the list of invalid layouts/variants:
multi
multi multi-2gr
multi sundeadkeys
hr us
fo
fo nodeadkeys
hu sundeadkeys
ko
mk pc104
ro ro_us
nec/jp