Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52749 - adding hungarian layout doesn't work in keyboard preferences
Summary: adding hungarian layout doesn't work in keyboard preferences
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 20:49 UTC by Ákos Maróy
Modified: 2004-11-07 02:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ákos Maróy 2004-06-01 20:49:52 UTC
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 = []
Comment 1 Ákos Maróy 2004-06-29 05:16:07 UTC
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
Comment 2 Ákos Maróy 2004-07-15 23:28:28 UTC
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 :(
Comment 3 Ákos Maróy 2004-08-28 02:39:53 UTC
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.
Comment 4 Markus Nigbur (RETIRED) gentoo-dev 2004-11-07 02:41:00 UTC
fixed upstream.