Backing up a little, I did this: keycode 0x40 = Meta_L Alt_L
and got xmodmap's output a little saner: xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Meta_L (0x40), Alt_R (0x71) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x73), Super_R (0x74) mod5 and my resulting trace is working fine: VTInitModifiers meta_left mask 0x8 is Mod1 modifier alt_right mask 0x8 is Mod1 modifier num_lock mask 0x10 is Mod2 modifier TranslationsUseKeyword(0x80a9ea8):#override and (using left-alt as meta): Handle 8bit-key Input keysym 0x006D, 1:'m' Mod1 8bit ...input-char is modified by META I also see right-alt interpreted as meta since they have the same modifier. That could be surprising if one isn't reading the debug trace. I don't use xmodmap often, so it does take some practice and experimentation. On my keyboard, I don't see a Meta_L or Meta_R by default, so adding it does require xmodmap. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpeNhgMhNscU.pgp
Description: PGP signature