Everytime I run X manually, I get the following error message: ---- The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server ---- Since this is really annoying to me, I tracked it down to: /usr/share/X11/xkb/symbols/level3: ---- // the default behavior is for the right Alt key (AltGr) to generate the // third engraved symbol default partial modifier_keys xkb_symbols "ralt_switch" { key <RALT> { type[Group1]="ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift ] }; modifier_map Mod5 { ISO_Level3_Shift }; }; ---- and /usr/share/X11/xkb/symbols/altwin: --- partial modifier_keys xkb_symbols "meta_alt" { key <LALT> { [ Alt_L, Meta_L ] }; key <RALT> { [ Alt_R, Meta_R ] }; modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R }; }; ---- Here you see that two symbols are assigned to RALT, which is defined as ONE_LEVEL. Commenting out the RALT line in /usr/share/X11/xkb/symbols/altwin helps, as well as changing ONE_LEVEL to TWO_LEVEL in /usr/share/X11/xkb/symbols/level3. I don't know which one is the correct way. I only know that hundreds of people have the same warnings (search the web for the message). It would be great if that issue could be fixed, perhaps even upstream. Related: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291853 Reproducible: Always Steps to Reproduce: 1. start X as root on the shell 2. watch the output Actual Results: The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server Expected Results: No warning/error I use x11-apps/xkbcomp 1.0.5 and x11-apps/setxkbmap 1.0.4 (dunno if that helps). xorg-server 1.5.3-r5, x11-libs/libxkbfile 1.0.5 My xorg.conf lists no keyboard configuration, but /etc/hal/fdi/policy/10-keymap.fdi contains: <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keymap"> <append key="info.callouts.add" type="strlist">hal-setup-keymap</append> </match> <match key="info.capabilities" contains="input.keys"> <merge key="input.xkb.rules" type="string">base</merge> <merge key="input.x11_driver" type="string">evdev</merge> <merge key="input.xkb.layout" type="string">de</merge> <merge key="input.xkb.model" type="string">macintosh</merge> </match> </device> </deviceinfo>
Please attach emerge --info and Xorg.0.log.
Created attachment 191391 [details] emerge --info
Created attachment 191392 [details] Xorg.0.log Attached Xorg.0.log. You will not see anything there since the error message does not get logged - only visible during startup of X on the shell.
I am completely clueless wrt XKB, and most of the other devs here are too. Please file a bug in FreeDesktop's bugzilla and paste the url here so upstream can comment on this bug that I've indeed seen a few times before. Thanks
Upstream URL: https://bugs.freedesktop.org/show_bug.cgi?id=21761
Alright, let's track the bug upstream then. Thanks
Just seen this message in my log. On upstream the fix seems to be lost somehow: https://bugs.freedesktop.org/show_bug.cgi?id=21761#c5