After upgrading 0.9 to 1.1 and getting the new keyboard config files through etc-update , I rebooted and now all the shortcuts to obtain special chars not present on my keyboard are gone (i.e.: I can't even insert the c parenthesis "{" or the tilde without Kcharselect) while I'm in X. Reproducible: Always Actual Results: Alt-gr + (7-0') produces nothing Expected Results: Alt-gr + (7-0' and igrave) produces special chars not present here
It is setting the keymap that fails, both on X startup: (WW) Couldn't load XKB keymap, falling back to pre-XKB keymap and manually with setxkbmap. (I don't have an actual error message from setxkbmap handy, I downgraded to 0.9).
Hi, I can confirm this error. I got rid of it after I recompiled libX11, xorg-server and xf86-input-keyboard. I don't know if recompilation of all three packages is really necessary but I was lazy and so didn't test package by package ;) Cheers Poly-C
Can you prepare if it works after the command: setxkbmap -keycodes xfree86 -geometry pc -model pc105 -layout de (replace the layout if you want).
Hm, now it is enough for me to do "setxkbmap -layout de". Perhaps you are able to test if the AltGr key is working with layout de.
(In reply to comment #2) > Hi, > > I can confirm this error. I got rid of it after I recompiled libX11, Just a "me too". > xorg-server and xf86-input-keyboard. A shorter version to fix this error might be emerge -C xkeyboard-config && emerge xkbdata Actually I do not know where the precise difference between these is, but it fixed the issue for me.
Here AltGr, ctrl + alt (to switch VTs), win keys and accented vowels in the right part of the italian keyboard stopped working after upgrading to 1.1. `setxkbmap -layout <enter whatever you want here>` fails with an error message like "Could not load description for...." I don't remember the exact message because I downgraded to 0.9.
I'll have to re-emerge something, setxkbmap doesn't seems to work here: -setxkbmap -keycodes xfree86 -geometry pc -model pc105 -layout it Error loading new keyboard description -setxkbmap -layout it Error loading new keyboard description
P.S.: xkbdata is deprecated, see: http://lists.freedesktop.org/archives/xorg-announce/2006-December/000203.html
I think the cause of "Error loading new keyboard description" is the warning "(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap". I did not get this warning. Also I know now (when you do not get this warning), what you have change in the e.g. us layout to get a working alt-gr with setxkbmap.
(In reply to comment #2) > Hi, > I can confirm this error. I got rid of it after I recompiled libX11, > xorg-server and xf86-input-keyboard. > I don't know if recompilation of all three packages is really necessary but I > was lazy and so didn't test package by package ;) I recompiled xf86-input-keyboard, libX11, xorg-server in that order and only after xorg-server did it work. So emerge --oneshot xorg-server is necessary and probably sufficient. Someone else may check that, perhaps?
(In reply to comment #10) > So emerge --oneshot xorg-server is necessary and probably sufficient. > Someone else may check that, perhaps? That did it for me.
I can confirm that re-emerge of xorg-xserver fixed it for me too. I just recall I had similar problem with xorg mouse driver (mouse has died) and re-emerge of xorg-xserver fixed that too. So it seems upgrades of some components need xorg-xserver to be re-emerged.
Re-emerging xorg-server fixed all of my issues with the keyboard. @x11: what about adding a warning to xkeyboard-config's pkg_postmerge() telling users to rebuild xorg-server? Anyway this bug is INVALID...
Confirming rebuilding xorg-server fixes the issue. This is definitely worth some kind of announcement at least in the ebuild, but GWN might be a good place too. Losing one's keyboard is not exactly fun to see :) Cheers
This looks like a dupe. *** This bug has been marked as a duplicate of bug 194026 ***
Indeed, this is a dupe of #194026 and a quicker fix than recompiling xorg-server is: ln -s /var/lib/xkb /usr/share/X11/xkb/compiled