Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66950 - Keymap changed after doing emerge -e firefox
Summary: Keymap changed after doing emerge -e firefox
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 01:10 UTC by Aleksander Blomskøld
Modified: 2005-10-12 19:49 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 Aleksander Blomskøld 2004-10-10 01:10:43 UTC
I did a emerge -e mozilla-firefox to try to fix a firefox problem. After reboot the keymap was fucked up. The multimedia-keys and alt-gr didn't work, and delete worked as delete.

Here are two lines from /var/log/XFree86.0.log, that might be interesting:
Couldn't open compiled keymap file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm
Couldn't load XKB keymap, falling back to pre-XKB keymap.

The same problem occurd with a friend of mine. We both have Norwegian Logitech keyboards with multimedia keys (different models).


Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentoo
http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa amd apache apm arts avi bonobo cdparanoia cdr
cdrom codecs crypt cups curl distribution divx4linux doc dvd dvdr dvdread emacs
encode esd evo f77 flac foomaticdb foreign-package gdbm gif gnokii gnome gphoto2
gpm gstreamer gtk gtk2 gtkhtml imap imlib j2ee java jpeg kde libcaca libg++
libwww live mad mikmod mmx motif mozilla mpeg mplayer msn mysql ncurses network
nls nvidia oggvorbis opengl orathreads oss pam pdflib perl png postgres python
qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86
xml2 xmms xprint xv xvid zlib"
Comment 1 Aleksander Blomskøld 2004-10-10 02:20:08 UTC
I meant: delete worked as backspace. 
Comment 2 Martin Opstad Reistadbakk 2004-10-10 05:55:11 UTC
I'm the friend, I can't be sure when the problem popped up, but I think it was after a recent -u world. I fixed my problem by first moving the old X11 dirs out of the way (/etc/X11 and /usr/X11R6) and then re-emrged kde and gnome (emerge -e kde gnome). This fixed it, and took no time at all (2 days or so).
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-10 13:14:04 UTC
can you check your emerge logs to see if xorg-x11 was updated, and if so what versions were involved?  Also, PLEASE keep your language clean here.
Comment 4 Martin Opstad Reistadbakk 2004-10-10 13:37:06 UTC
I upgraded from x11-base/xfree-4.3.0-r6 to x11-base/xfree-4.3.0-r7.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-10 15:53:12 UTC
Did you remember to run etc-update? Also for the error with "Couldn't open compiled keymap" try checking permissions on /var/lib/xkb/ and deleting anything inside it.
Comment 6 Aleksander Blomskøld 2004-10-11 01:44:08 UTC
Yes, I ran etc-update. The only file in the /var/lib/xkb/ dir is README.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-11 01:55:37 UTC
"try checking permissions on /var/lib/xkb/"
Comment 8 Aleksander Blomskøld 2004-10-11 05:25:35 UTC
drwxr-xr-x   2 root     root       72 okt  8 14:52 xkb
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-11 21:00:59 UTC
Check out permissions on /var/tmp too. http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml suggests that it could be a problem.
Comment 10 Aleksander Blomskøld 2004-10-11 23:12:10 UTC
ls -ld /var/tmp/
drwxrwxrwt  7 root root 216 okt 11 22:34 /var/tmp/
Comment 11 Aleksander Blomskøld 2004-10-19 14:57:06 UTC
I did a reemerge of kde with emerge -e kde. It didn't help. Then I did a mv /etc/X11 /etc/X11.old and an emerge -e kde again. Now the keymap is ok..
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-12 19:49:20 UTC
Can't reproduce.