GNOME Bugzilla – Bug 323210
keyboard applet is incompatible with modular X (7.x)
Last modified: 2010-01-24 01:07:26 UTC
Please describe the problem: The X11 keyboard maps were thoroughly reworked in incoming Xorg X11 7.0 release (definitions and location changed) As a result the keyboard switching applet does not recognize X11 keyboard defs and does not work at all You also get an ugly warning about it each time you log in gnome All distros that will use Xorg X11 7.0 will be affected. Fedora Core 5 Test1 already is Steps to reproduce: load gnome on a Xorg X11 7.0 based distro (for example Fedora Core 5 Test1) Actual results: Popup complaining X11 and Gnome keyboard settings differ Keyboard applet which only displays current X11 map and can not switch to any other Expected results: Does this happen every time? Yes Other information: See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173267
Unfortunately at the moment I don't have modular X installed, so cannot reproduce the problem. Though most probably the issue is not with gnome-applets but with libxklavier.
Probably I seem to remember mharris complained they never applied a patch he sent them years ago, and as a result get broken every time he moves things (and he does not care anymore) (patch was to query the server to get kbd info instead of hardcoding kbd data location) But I'm only a poor user trying to get stuff working. Roght now the keyboard applet is dead-broken in the FC5 tree
Ghm, these 'them' is probably me. Could you please attach this patch here?
I'm sorry, I only read mharris complaining vehemently about libxclavier on #fedora-devel when he was listing all the bits modular X broke, he didn't gave the patch reference, but I'm sure if you ask him gently he'll send it to you again (he'll probably also give you a piece of its mind though)
ok, I'll try:)
Please also note Xorg didn't just move xkb data to a new place - many maps where rewritten, so Mike's patch may not be sufficient by itself
Marking this bug as a blocker for GNOME 2.14.
I discussed this thing with Mike. There is really no high-priority issues. And moreover - it is NOTGNOME (it is only minor build-time problem with libxklavier).
Well, it's no high-prio because no one has figured where to yell so far. Right now the gnome keyboard applet in FC5 test 1 and FC devel is a paperweight (in linuxprinting terminology). Want to bet how many people will notice if it's not fixed before FC5 release ? Most FC5t1 users are hackers and only care about ascii. Your average FC user is rather different
got the same problem here. gentoo user who likes to experiment here. I have installed gnome-2.13.3 on modular xorg. The stuff that was in /usr/X11R6/lib/X11/xkb got moved to /usr/share/X11/xkb and in my xorg.conf : Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us,ara" Option "XKbOptions" "grp:alt_shift_toggle" EndSection stuff works a little if I symlink the new place to the old but it still can't compile a new keyboard map and I get this in the Xorg log : (EE) Error loading keymap /usr/share/X11/xkb/compiled/server-0.xkm My keyboard is "microsoftprousb" and I used layout "arabic qwerty digits" from the gnome-keyboard-properties. I can't set these anymore, and they don't work if I stick them in xorg.conf . I am not sure if this is only a libxklavier problem, but it will be ugly if gnome-2.14 gets released this way, specially with modular X released and considered "stable". Can someone CC libxklavier author ?
I am libxklavier author - but it seems irrelevant here. Xorg does not use libxklavier itself - so if you get errors in xorg log, it is somewhere in xkb configuration or xorg server itself. Do you use xkeyboard-config XKB configuration database - or the one shipped with xorg release. Could you please do 'ls -l /usr/share/X11/xkb/rules'?
ls -l /usr/share/X11/xkb/rules total 568 -rw-r--r-- 1 root root 110 Dec 26 01:16 README -rw-r--r-- 1 root root 3096 Dec 26 01:16 sgi -rw-r--r-- 1 root root 2525 Dec 26 01:16 sgi.lst -rw-r--r-- 1 root root 1662 Dec 26 01:16 sun -rw-r--r-- 1 root root 1748 Dec 26 01:16 sun.lst -rw-r--r-- 1 root root 781 Dec 26 01:16 xfree98 -rw-r--r-- 1 root root 817 Dec 26 01:16 xfree98.lst -rw-r--r-- 1 root root 840 Dec 26 01:16 xkb.dtd -rw-r--r-- 1 root root 7309 Dec 26 01:16 xml2lst.pl -rw-r--r-- 1 root root 40517 Dec 26 01:16 xorg -rw-r--r-- 1 root root 1443 Dec 26 01:16 xorg-it.lst -rw-r--r-- 1 root root 17393 Dec 26 01:16 xorg.lst -rw-r--r-- 1 root root 469372 Dec 26 01:16 xorg.xml I don't really understand what do you mean by "xkeyboard-config XKB configuration database - or the one shipped with xorg release". but I'll try: * x11-apps/setxkbmap Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 78 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org setxkbmap application License: X11 * x11-apps/xkbcomp Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 175 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbcomp application License: X11 * x11-apps/xkbevd Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 99 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbevd application License: X11 * x11-apps/xkbprint Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 112 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbprint application License: X11 * x11-apps/xkbutils Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 64 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbutils application License: X11 * x11-libs/libxkbfile Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 252 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbfile library License: X11 * x11-libs/libxkbui Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 205 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbui library License: X11 * x11-misc/xkbdata Latest version available: 1.0.1 Latest version installed: 1.0.1 Size of downloaded files: 280 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org xkbdata data License: X11
As I wrote - it's not a simple location change I had to manually rewrite the keyboard rules in my xorg.conf - the old ones (pre 7.0) weren't valid anymore
So what is the soultion or at least a temporary workaround ? Does xorg have different rule files for the modular 7 that can be downloaded somewhere ?
Well right now till the config tools catch up you may have to ask on xorg lists how your keboard map was renamed/changed Alternatively I think Fedora's system-config-keyboard has already been adapted for modular X (at least it works with my map, but after all I reported the problem first) However if you want to do some keyboard switching you'll have to wait for the gnome applet to be fixed
As I can see, you are using original xkb configuration database (not xkeyboard-config). And it may be broken in many ways. Would you consider trying xkeyboard-config? http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig http://xlibs.freedesktop.org/xkbdesc/xkeyboard-config-0.7.tar.bz2
Sorry for the delay, I had an exam. I unmerged (removed) the xorg keyboard data and installed xkeyboard-config data using a home made ebuild, and everything returned back to normal !! This package should replace the one included with modular xorg I guess. For now everthing seems to be back to normal, gnome-keyboard-properties is working properly, it even seems to have some more options for the layout, and I got my arabic_qwerty_digits map :) Thanks a million for this!
Ok, good to know it is sorted.;)