
У меня есть мышь Lenovo Mice N700, созданная для Windows 8. Она отлично работает на Ubuntu (16.04), но имеет 2 недостатка: смахивания.
В Windows 8 они должны были вызывать действия, как и смахивания по краю сенсорного экрана/тачпада. Дело в том, что они сопоставлены с клавишами C
и Backspace
(со странным порядком отправленных модификаторов). Я бы хотел переназначить их на Alt + Left Arrow
и Alt + Right Arrow
. Возможно ли это?
Вот вывод xev:
СЛЕВА НАПРАВО:
KeyPress event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047051, (1281,352), root:(1318,453),
state 0x4050, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4054, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 bytes: (08) "
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4054, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
СПРАВА НАЛЕВО:
KeyPress event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193252, (1370,422), root:(1407,523),
state 0x4010, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 bytes: (63) "c"
XmbLookupString gives 1 bytes: (63) "c"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193267, (1370,422), root:(1407,523),
state 0x4050, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 bytes: (63) "c"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193267, (1370,422), root:(1407,523),
state 0x4050, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False