Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125470

Summary: setxkbmap bug
Product: Gentoo Release Media Reporter: Norman Warthmann <norman>
Component: EverythingAssignee: Gentoo Release Team <releng>
Status: RESOLVED NEEDINFO    
Severity: major CC: dsd, frigerio, rajas, xmit
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Norman Warthmann 2006-03-08 06:13:49 UTC
I have installed 2006.0 using the graphical installer from the live cd.
I ended up with a bootable gentoo installation, however my keyboard was working in the console but not in X.

in order to use "setxkb" I got an error: e.g.

norman@localhost ~ $ setxkbmap -model armada -layout de 
Error loading new keyboard description

solution:

sudo cp /usr/X11R6/bin/xkbcomp /usr/X11R6/lib/X11/xkb
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-03-26 08:28:51 UTC
Just had a user run into this on irc... Is bug 41743 back to haunt us? This person is an etc-update user, though.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-03-26 08:44:19 UTC
Apologies, this user didn't use the graphical installer, the problem occurred during some system updates..odd..
Comment 3 rajas 2006-04-16 05:12:36 UTC
I am using a german keyboard and was hit by a similar problem: I could not change the keyboard-layout and Gnome complained every time I logged in or tried to change the keyboard settings vie gnome-keyboard-properties. The '@' and other things did not work anymore. Not very amusing.

I am using modular Xorg 7.0 and Gnome 2.14. Finally I got it working. My quick and dirty solution for Gnome:

emerge --unmerge x11-misc/xkeyboard-config x11-misc/xkbdata x11-apps/xkbcomp x11-libs/libxkbfile libxkbui libxklavier

# Backup any customized layouts before deleting this directories!
rm -rf /etc/X11/xkb /usr/share/X11/xkb

# This pulls in the xkb-stuff again
emerge --onlydeps xorg-server libxklavier
emerge libxklavier

Then logout of X (otherwise it likely crashes) and login in again. If you are using Gnome then select your keyboard-layout again and remove the old one. Works for me.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-19 08:54:31 UTC
Has this been resolved in 2006.1?
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 18:05:29 UTC
I still haven't gotten a response and there's now been two releases.  Since I don't know if this is actually FIXED or not, I'm marking it as NEEDINFO.