Bug 176002

Summary: Keyboard settings broken since modular X upgrade
Product: [Fedora] Fedora Reporter: Ralph Loader <suckfish>
Component: libxklavierAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mbrodeur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-14 20:34:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221    

Description Ralph Loader 2005-12-17 05:08:34 UTC
Setting keyboard options via gnome-keyboard-properties result in an error dialog
popping up saying:

---------------------------------------------------------------------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
69999902

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

(I also get the same dialog when logging in).

I suspect that the following may be to blame:

$ strings /usr/lib/libxklavier.so.10|grep X11R6
-I/usr/X11R6/lib/X11/xkb
/usr/X11R6/lib/X11/xkb/rules/%s.xml
/usr/X11R6/lib/X11/xkb/rules/%s
/usr/X11R6/lib/X11/xkb/xkbcomp

$ rpm -q libxklavier
libxklavier-2.0-3

Comment 1 Ralph Loader 2005-12-17 07:10:01 UTC
Oh yeah, the two things the error message asks me to include:

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = hpi6
 options = []
 overrideSettings = true


Comment 2 Ralph Loader 2005-12-18 01:53:59 UTC
According to the ChangeLog, libxklavier 2.1 fixes a bug with identical symptoms.
 (And it might just be coincidence that it broke when I upgraded to modular X).

Comment 3 Ralph Loader 2006-01-05 04:47:19 UTC
Well the libxklavier-2.1 has removed the error dialog, but x keyboard settings
are still broken.

On the gnome-keyboard-properties 'Layout options' tag, I have just

  Miscellaneous compatibility options
     Shift with numpad keys works as in MS Windows
     Special keys (Ctrl+Alt+<key>) handled in server

and no others.


Comment 4 Chris Tyler 2006-01-18 04:26:13 UTC
When testing FC5T2 and the "Canadian>French (legacy)" keyboard setting in Gnome
Keyboard Preferences, turning off the "Shift with numpad keys works as in MS
Windows" setting under "Layout Options" seems to let the keyboard work, but
turning it on seems to provoke the problems described above (and more: sometimes
the settings silently don't work, sometimes a dialog keeps flashing up (no text,
dialog disappears immediately, then reappears), sometimes there is a message
saying that the gnome settings daemon died too many times) - perhaps this is due
to a missing/incompatible keyboard variant?

(It looks like the X.org xkb layouts were substantially changed between 6.8.2
and 7.0, layouts such as ca_enhanced are gone).

Comment 5 Matthias Clasen 2006-02-10 05:21:36 UTC
We could probably dupe this to bug 173267

Comment 6 Matthias Clasen 2006-02-14 20:34:00 UTC

*** This bug has been marked as a duplicate of 173267 ***