← Back to team overview

mactel-support team mailing list archive

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

 

spbrereton, if what you experience is in fact bug #327963, then I
believe that you should set the MODEL to something mac (e.g.
"macintosh_vndr/ch") and the LAYOUT to a variant not mentioning mac
(e.g. "de", not "de_mac").

The reason is that the layout files for mac models simply don't mention
any specific mac layout variants, as all the mac model layouts are for
mac. In other words, the "macintosh_vndr/ch" file describes a layout
called "de" which fits the default swiss mac layout, but no layout
called "de_mac". Bug #327963 has been turned into a request to introduce
the latter as an alias to the former, in order to avoid this confusion.
If you want to support that, subscribe to that bug and/or mark it as
affecting you as well.

The other way, using a generic MODEL with a *_mac LAYOUT does work as
well, as far as the configuration files are concerned. The result is
probably not optimal, though, as that configuration is intended to
simulate mac-like behaviour on a non-mac keyboard. So if your keyboard
was built by apple, the other approach is preferable.

Further discussion on the speific issue of mac keyboard models with mac
layout variants should probably go to bug 327963 as well, as that bug is
more specific, while this one here does deal with several other and
probably unrelated issues as well.

-- 
"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.