gnome-keyboard-properties setting xkb properties wrong

Bug #297999 reported by rofl
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
New
Undecided
Unassigned

Bug Description

Instead of setting "mac_nodeadkeys" as XKB variants, it will be set as a additional layout (whitespace separated).

This false setting is responsible for the following error:

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

X server version data:
The X.Org Foundation
10300000

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

As a side effect the screenshot application will be started by hitting/pressing the up arrow key.
Some bug-reportes describe this as a bug in the gnome-settings-daemon, can't reproduce this.

Edit your setting with gconf-editor. Go to /desktop/gnome/peripherals/keyboard/kbd/layouts.
Edit your layout to a single language (eg "en" or "de").
Add a "variant" field as string and enter your variant (eg "mac_nodeadkeys").

Found this solution at "http://weblog.burgernet.ch/index.php?/archives/106-GNOME-error-activating-XKB-configuration.html"

Additional Information:

Ubuntu 8.10 fresh install.

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "macintosh", "de", "mac_nodeadkeys", "grp:alts_toggle,apple:badmap,numpad:mac,numpad:pc,lv3:alt_switch"
_XKB_RULES_NAMES(STRING) = "evdev", "macintosh", "de", "", "apple:badmap,numpad:mac,numpad:pc,numpad:mac,apple:badmap,lv3:alt_switch,grp:alts_toggle"

Before editing:
$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [de mac_nodeadkeys]
 model = macintosh
 options = [apple apple:badmap,numpad numpad:mac,numpad numpad:pc,compat numpad:mac,compat apple:badmap,lv3 lv3:alt_switch,grp grp:alts_toggle]

After editing:
$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [de]
 variant = mac_nodeadkeys
 model = macintosh
 options = [apple apple:badmap,numpad numpad:mac,numpad numpad:pc,compat numpad:mac,compat apple:badmap,lv3 lv3:alt_switch,grp grp:alts_toggle]

Revision history for this message
rofl (rofl) wrote :

This is a screenshot of the mentioned error thrown at start and any editing in gnome-keyboard-properties.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is rather an xkeyboard-config one, could be a duplicate of a known issue there

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.