вывод xev (нажимал только кнопку Ф)
Код: Выделить всё
KeyPress event, serial 30, synthetic NO, window 0x2000001,
root 0x15d, subw 0x0, time 1338290, (443,386), root:(444,403),
state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
XLookupString gives 2 bytes: (d1 84) "ф"
XmbLookupString gives 2 bytes: (d1 84) "ф"
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x2000001,
root 0x15d, subw 0x0, time 1338398, (443,386), root:(444,403),
state 0x2000, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
XLookupString gives 2 bytes: (d1 84) "ф"
XFilterEvent returns: False
MappingNotify event, serial 30, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 30, synthetic NO, window 0x2000001,
root 0x15d, subw 0x0, time 1338409, (443,386), root:(444,403),
state 0x2000, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x2000001,
root 0x15d, subw 0x0, time 1338409, (443,386), root:(444,403),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
MappingNotify event, serial 31, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 31, synthetic NO, window 0x2000001,
root 0x15d, subw 0x0, time 1338622, (443,386), root:(444,403),
state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 bytes: (61) "a"
XmbLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: Falseи не более того
/etc/X11/xorg.conf
Код: Выделить всё
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSectionкуда копать?
зажал Ф
фффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффффф
ффффффффффффффффффффффффффффaaaaaaaaaaaaaaaaaaaaaa
PS Обратно само по себе не переключается