From owner-freebsd-x11@FreeBSD.ORG Fri Dec 22 04:18:03 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B784E16A417 for ; Fri, 22 Dec 2006 04:18:03 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-03.rdc-nyc.rr.com (ms-smtp-03.rdc-nyc.rr.com [24.29.109.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB6213C459 for ; Fri, 22 Dec 2006 04:18:03 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-74-73-145-181.nyc.res.rr.com [74.73.145.181]) by ms-smtp-03.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id kBM3f6P4016849 for ; Thu, 21 Dec 2006 22:41:06 -0500 (EST) Date: Thu, 21 Dec 2006 22:41:06 -0500 From: Scott Robbins To: freebsd-x11@freebsd.org Message-ID: <20061222034106.GA71957@mail.scottro.net> Mail-Followup-To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: followup on my Mod4 disappearing problem X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 04:18:03 -0000 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.