From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L1iFm-0000aw-Bb for garchives@archives.gentoo.org; Sun, 16 Nov 2008 14:05:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3F12E01C9; Sun, 16 Nov 2008 14:05:28 +0000 (UTC) Received: from crowfix.com (crowfix.com [216.240.38.154]) by pigeon.gentoo.org (Postfix) with ESMTP id E547EE01C9 for ; Sun, 16 Nov 2008 14:05:26 +0000 (UTC) Received: (qmail 31011 invoked by uid 1000); 16 Nov 2008 14:05:20 -0000 Date: Sun, 16 Nov 2008 06:05:20 -0800 From: felix@crowfix.com To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] X -- swapping keys, keyboard rate Message-ID: <20081116140520.GA1639@crowfix.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: ecf16107-9598-4d03-94fd-791dc184548e X-Archives-Hash: 252a3f2f823b97b563b2334f792c5e36 I use to have an X config many years ago, but one of the X upgrades didn't like it and I had a lot of trouble trying to get it working again, and then I found the new X was happy without any config file (/etc/X11/xorg.conf), so I have been running that way for some time. But the upgrade to 1.5, I think, along with evdev, has messed with the mapping of several keys -- ALT and WINDOW on both left and right, and MENU on the right side only, on my US pc105 keyboard. (I hope those names are good enough. I don't know what the official names are.) I used to have the single MENU key configured to control the window manager (fvwm), but now either of the WINDOW keys does that, and MENU is passed on thru to programs. The WINDOW and ALT keys used to be swapped. I guess I need some xkbcomp or xkbsetmap command to change this, but I cannot decipher the man pages nor find any decent examples. Another change is the keyboard repeat rate. I can stop autorepeat: xset r off I can turn it on xset r rate But I can't control either the initial delay or the repeat rate: xset r rate 5000 10 (ought to be noticeable!) xset r rate 350 25 (what I used to set) The worst of it is that it buffers up the keys and keeps on sending them out long after I have taken my fingers off. For instance, on some web pages, Firefox can't scroll as fast as the keyboard wants it to. If I hit an arrow key over and over as individual key presses, it stops scrolling as soon as I stop banging the arrow key, but if I hold down the arrow key, X's repeat function fills the key buffer with arrow keys and the browser keeps scrolling long after I have taken my finger off the key. Is there some way to correct this? This is not the repeat rate because the default rate is good enough in editors or on the command line. But the browser and X used to work together better before, and the browser knew when my finger came off the arrow key. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o