I have defined a couple of Key Bindings using META Key as the modifier… ALT Key is supposed to be the META Key. Somehow only the right ALT Key (ALT_R) is recognized as the META Key.
I am using a normal IBM keyboard and Hummingbird Exceed as the X-Server. Running HP_UX 10.20.
Any ideas whats wrong with my Left ALT Key?
sun:> 109 ] xmodmap -pke | grep ALT
keycode 16 = Alt_L Meta_L
keycode 74 = Alt_R Meta_R
for some applications, meta is modifier mod1. You may need to type
xmodmap -e ‘add mod1 = Meta_L’
To see the modifiers binding, type xmodmap -pm
ALT_L is already present as “mod1”.
$xmodmap -e ‘remove mod1 = Alt_R’
$xmodmap -e ‘remove mod1 = Alt_L’
$ xmodmap -e ‘add mod1 = Meta_L’
$ xmodmap -pm
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0xc), Shift_R (0x48)
lock Caps_Lock (0xb)
control Control_L (0x11), Control_R (0x49)
mod1 Alt_L (0x10), Alt_R (0x4a)
mod3 Num_Lock (0x52)
Looks like “xmodmap” is not making any changes to the KEY Map. It is always the same. Any suggestions?
By the way, these bindings means that shift-keycode16 is Meta_L. I guess this is why xmodmap can’t add it for a modifier. Maybe try to set keycode 16 as Meta_L (xmodmap -e “keycode 16 = Meta_L”).