← Back to team overview

mactel-support team mailing list archive

[Bug 297999] Re: gnome-keyboard-properties setting xkb properties wrong

 

*** This bug is a duplicate of bug 67188 ***
    https://bugs.launchpad.net/bugs/67188

** This bug has been marked a duplicate of bug 67188
   "Error activating XKB configuration." - Requires manual xorg.conf editing

-- 
gnome-keyboard-properties setting xkb properties wrong
https://bugs.launchpad.net/bugs/297999
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support (via bug 67188).

Status in “xkeyboard-config” source package in Ubuntu: New

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]