← Back to team overview

mactel-support team mailing list archive

[Bug 67188] Re: "Error activating XKB configuration." - Requires manual xorg.conf editing

 

Since I have this error I can no longer change my layout using keyboard shortcuts ( Alt + Shift in my case )
Also whenever I try to change the shortcut for layout toggle, I am met with the error message. Same message shows up whenever I log in first, from suspension, or from a locked screen. sometimes this error message stacks up to 20 messages when I unlock the screen.

uname -a
Linux xxxxxx 2.6.32-18-generic #27-Ubuntu SMP Fri Mar 26 19:51:10 UTC 2010 i686 GNU/Linux

xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "us,ir", ",", "grp:alts_toggle"
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,ir", ",", "grp:alts_toggle"

gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us,ir]
 options = [grp	grp:alt_shift_toggle]
 model =

-- 
"Error activating XKB configuration." - Requires manual xorg.conf editing
https://bugs.launchpad.net/bugs/67188
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in Mactel Support: Confirmed
Status in “control-center” package in Ubuntu: Invalid
Status in “xkeyboard-config” package in Ubuntu: Triaged
Status in “xkeyboard-config” package in Fedora: Won't Fix

Bug description:
After upgrading to Edgy Eft, the Polish symbols disapeared when I write. However, they are properly displayed at the menus, web pages, etc.. During logging in, the system showed an error message:
"There is an error of configuration activation of the XKB. This could be caused by:
 - error in libxklavier, or X serwera (tools xkbcomp, xmodmap), or serwer X is not comptible with libxkbfile implementation.
Version of serwer X:
The X.Org Foundation
70101000"
 The error message also suggests to run:
rados@domowy:~$ xprop -root | grep XKB

_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "pl", "qwerty", "lv3:ralt_switch"
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "pl", "qwerty", "lv3:ralt_switch"

and
rados@domowy:~$ gconftool-2 -R 

/desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = 
 overrideSettings = true
 options = []


See https://help.ubuntu.com/community/DebuggingXAutoconfiguration for discussion of workarounds for this bug.  For more discussion also see http://lists.freebsd.org/pipermail/freebsd-gnome/2005-December/013059.html and http://ubuntuforums.org/showthread.php?t=288974.

A correct solution requires that Preferences > keyboard (or a similar GUI configuration tool) set the keyboard correctly, without requiring editing of xorg.conf.  Possibly it will need changed to not update gconf but rather update the xorg.conf file directly.


This problem sometimes is caused by a new xorg that doesn't support the selected XkbVariant for the configured keyboard layout, and the upgrade program doesn't reconfigure xorg.conf (or whatever) correctly to switch to the proper layout.