On Sun, Apr 18, 2004 at 11:23:36PM +0200, Sebastian Kapfer wrote: > On Sun, 18 Apr 2004 00:40:09 +0200, Pigeon wrote: > > > On Sat, Apr 17, 2004 at 01:52:26PM +0000, Adam Funk wrote: > >> How could I get my right alt key (which as far as I can tell does > >> nothing at present) to imitate the left alt key? > > > > I have ~/.Xmodmap containing: > > > > keycode 0x40 = Alt_L > > keycode 0x71 = Alt_L > > > > However this doesn't seem to be a complete solution. It works for > > enabling either Alt key to be used in Ctrl-Alt-F<n> combinations to > > switch VCs. But Alt-F to access the File menu, for example, has to be > > left Alt (in eg. mozilla and kword), and Alt-left-mouse-button to drag a > > window (in blackbox) also has to be left Alt. > > Most probably, you didn't add your shiny new Alt key to the modifier map. > (Invoking xmodmap without arguments prints the modifier map.) It's been a > while since I used xmodmap, so don't take this as definitive advice: > > keycode 0x40 = Alt_L > keycode 0x71 = Alt_L > clear mod1 > add mod1 = 0x40 > add mod1 = 0x71
Ah, many thanks. That wasn't precisely it, but provided the necessary clue. Turned out what I needed was: keycode 0x40 = Alt_L keycode 0x71 = Alt_L clear mod1 add mod1 = Alt_L Alt_L clear mod3 ....and now both applications and the WM are happy. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature