PDA

View Full Version : xkb / keymap problems


bilange
11th May 2004, 04:25 PM
I´m using Test3, updated this night on usherbrooke, CA mirror.

To make it short: I cannot use the keyboard utility in Start Menu, Preferences, Keyboard. Any changes in the Layout tab will pop up an error saying:


Error activating XKB configuration.
Probably internal X server problem.

X server version data:
The X.Org Foundation
60700000

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/xkb


Also, this error adds a line in Xorg.0.log (in /var/log):

(EE) Error loading keymap /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm

also, after documenting myself on setxkbmap and messing with it, i cannot switch to another language, writing a similar line (similar to the (EE) line just over this paragraph) in Xorg.o.log, and exits saying only this:

Error loading new keyboard descrtiption

note that changing setxkbmap -verbose option dont add any valuable infos.

For the directory /usr/X11R6/lib/X11/xkb/compiled/, there is nothing in it - i think (but i can be wrong) that its normal.

I dont think it could be helpful, but heres the output of the commands that the first error asked to send:


[bilange@warbird keymap]$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "logiciinc", "us,ca_enhanced", ",", "grp:alt_shift_toggle"
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us_intl", "", ""
[bilange@warbird keymap]$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb layouts = [ca_enhanced,us intl]
model = itouchin
overrideSettings = false
options = [ ]
[bilange@warbird keymap]$


Thanks for your time.

bilange
11th May 2004, 04:29 PM
I forgot to mention I was able to repeat this behavior on two different Test3 installations. One installation using the default (us/international) keyboard, the other the canadian enhanced (also known as canadian multilingual).

I found a very temporary workaround for this, in the meantime I manage to fix this problem.

Changing keyboards layouts is possible using ´system-config-keyboard´ (Or start, systems settings, keyboard), but requires root password everytime.

LordMorgul
11th May 2004, 08:36 PM

You may have this line in your /etc/X11/xorg.conf
Option "XkbRules" "xfree86"

See this bug for more info on that problem:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121016#c4

As well as the main indication of this problem, there were a few other weird results of having that option still specified.

bilange
12th May 2004, 02:19 AM
thanks for your reply

I actually had this line and commented it out.

I can use setxkbmap now - but the GUI tool is still not functionnal.

I can (and will) just add launchers (aka shortcuts) to the desktop for switching languages.

thanks again!

Linz
12th May 2004, 07:35 AM
I had that error message pop up on logon at two different FC2T2 installations.

I'm not sure if this is the correct way to fix that error message, but I did:

ln -s /usr/X11R6/lib/X11/xkb/rules/xfree86.lst /usr/X11R6/lib/X11/xkb/rules/xfree86.lst

ln -s /usr/X11R6/lib/X11/xkb/rules/xfree86.xml /usr/X11R6/lib/X11/xkb/rules/xfree86.xml