I just realized that my right Alt key is not working as an Alt key.
For example the right Alt + Left Arrow in Firefox does not go Back, and right Alt + Tab does not switch windows. These shortcuts work with the left Alt key though.
Using xev
, the left Alt being pressed and released has this output:
KeyPress event, serial 34, synthetic NO, window 0x4a00001,
root 0x67c, subw 0x0, time 5788950, (1222,352), root:(1222,416),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4a00001,
root 0x67c, subw 0x0, time 5789044, (1222,352), root:(1222,416),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
But the right Alt key shows:
KeyPress event, serial 37, synthetic NO, window 0x4a00001,
root 0x67c, subw 0x0, time 5793892, (1222,352), root:(1222,416),
state 0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4a00001,
root 0x67c, subw 0x0, time 5793993, (1222,352), root:(1222,416),
state 0x80, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XFilterEvent returns: False
What is ISO_Level3_Shift ?? And what happened to Alt_R ?