when I try to add any of the available hungarian layouts, I immediately get an error pop-up: Error activating XKB configuration. Probably internal X server problem. X server version data: Gentoo Linux (XFree86 4.3.0, revision r5) 40300001 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 Reproducible: Always Steps to Reproduce: 1. open applications -> desktop preferences -> keyboard 2. select the Layout tab 3. try to add any of the hungarian layouts to the selecgted layouts Actual Results: an error pop-up comes up, and one can't use the layout Expected Results: the layout should have been added fine, $ xprop -root | grep XKB _XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "pc101", "us", "", "" _XKB_RULES_NAMES(STRING) = "xfree86", "presario", "us", "", "" $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb layouts = [us,hu l2_101_qwerty_comma] model = presario overrideSettings = false options = []
I filed the same bug on the Gnome bugzilla as well, as there was no reaction to it here: http://bugzilla.gnome.org/show_bug.cgi?id=145132
playing around with setxkbmap, and the documentation found on the XFree86 site at http://www.xfree.org/4.3.0/XKB-Config2.html#2 , it seems that the heart of the problem is that there is no file named hu in the /usr/X11R6/lib/X11/xkb/symbols/pc directory, even though there should be. $ setxkbmap -layout "us" -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc/pc(pc105)+pc/us+inet(presario)+group(ctrl_shift_toggle)+group(alt_shift_toggle)" }; xkb_geometry { include "pc(pc104)" }; }; $ setxkbmap -layout "us" -print | xkbcomp - Warning: No symbols defined for <SYRQ> (keycode 92) Warning: No symbols defined for <BRK> (keycode 114) (... more such warnings here) $ setxkbmap -layout "hu" -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "en_US(pc105)+hu+inet(presario)+group(ctrl_shift_toggle)+group(alt_shift_toggle)" }; xkb_geometry { include "pc(pc104)" }; }; $ setxkbmap -layout "hu" -print | xkbcomp - Warning: No symbols defined for <SYRQ> (keycode 92) Warning: No symbols defined for <BRK> (keycode 114) (... more such warnings here) $ setxkbmap -layout "us,hu" -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc/pc(pc105)+pc/us+inet(presario)+pc/hu:2+group(ctrl_shift_toggle)+group(alt_shift_toggle)" }; xkb_geometry { include "pc(pc104)" }; }; see the reference above for pc/hu... $ setxkbmap -layout "us,hu" -print | xkbcomp - Error: Can't find file "pc/hu" for symbols include Exiting Abandoning symbols file "(null)" and here is the real problem... now copying say the file de in /usr/X11R6/lib/X11/xkb/symbols/pc to hu makes the above pass, but I still can't add a hungarian layout through the gnome keyboard preferences :(
as this is still a very open problem, I have also filed a bug report on the XFree86.org bugzilla: http://bugs.xfree86.org/show_bug.cgi?id=1461 this is after a suggestion from the gnome team that this might be an X server problem.
fixed upstream.