Запустите xev в терминале и нажмите клавишу ←
. Вы должны получить что-то вроде:
KeyRelease event, serial 36, synthetic NO, window 0x1800001,
root 0xc5, subw 0x0, time 21673733, (365,311), root:(366,360),
state 0x10, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Если нет ...