Date: Thu, 21 Dec 2006 22:41:06 -0500 From: Scott Robbins <scottro@nyc.rr.com> To: freebsd-x11@freebsd.org Subject: followup on my Mod4 disappearing problem Message-ID: <20061222034106.GA71957@mail.scottro.net>
next in thread | raw e-mail | index | archive | help
Last night, I posted about the latest upgrade to xorg-server doing something to my Mod4 key (the Windows key) so that I had to manually add the mapping with xmodmap. On my second test box, I paid more attention to what was happening. It turned out the the original update of xorg-server failed--it seemed to be tied in with xkeyboard-config and the directory /usr/X11R6/share/X11/xkb. I paid a ~bit~ more attention, but wasn't intelligent enough to capture the output, I simply noticed an error message there. So, then, I tried again, just doing portupgrade -w (to not clean beforehand) xorg server and it installed. It had also installed xkeyboard-config. So, now I tried a portupgrade -f xkeyboard-config to see if that would fix the problem (again, not thinking far enough ahead to anticipate a problem and capture the output.) Again, a message about xkb flashed by (but too far up to be seen with scroll lock and up arrow.) So, I tried the following, which fixed the problem. Firstly, I did pkg_delete -xf xkeyboard-config. Then, I moved /usr/X11R6/share/X11/xkb to xkb.old. I then installed xkeyboard-config and this time it installed without errors. After that, when I did startx, xmodmap showed that my Mod4 key was back. So, I'm not quite sure what the problem was, but apparently, it has something to do with /usr/X11R6/share/X11/xkb not being empty at some point (I did see, as the error flashed by, a mention of that.) Force deleting xkeyboard-config, renaming that directory and reinstalling xkeyboard-config fixed the issue. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 (In response to being asked to fight a troll) Spike: I would, but I'm paralyzed with not caring very much.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061222034106.GA71957>