Я начал использовать Потрясающие WM, и обнаружил, раздражает, что он игнорирует вход в «Run» виджет (mod+R
), когда текущая раскладка не США, скажем, RU. Кроме того, он игнорирует и любой ввод (мышиные клавиатуры, клавиатура - даже не макетные клавиши, такие как Esc!) В своей панели запуска/mainmenu и «список клиентов» и так далее. Я использую Arch Linux, и ~/.xinitrc
имеют следующие строки:Удивительная WM игнорирует вход в неамериканском макете
rc.lua
по умолчанию конфигурации
setxkbmap -layout "us, ru" -option "grp:caps_toggle, grp_led:caps"
Удивительной имеет ни расположение, ни CapsLock конкретных вещей, но я пытался изолировать проблему и удалить параметр CapsLock тумблера из моего xinitrc. Это не помогло.
xev
вывод показывает, что единственное, что меняется, когда я переключаю раскладку (с CapsLock) является «государство»:
- щелчок левой кнопкой мыши (текущая раскладка: США, все в порядке) -
LeaveNotify event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 256
EnterNotify event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 256
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 4294967189 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13419931, (151,498), root:(835,518),
state 0x0, button 1, same_screen YES
ButtonRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13420028, (151,498), root:(835,518),
state 0x100, button 1, same_screen YES
- крышечки блокировки (раскладка изменения США -> RU) -
KeyPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13420911, (151,498), root:(835,518),
state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13420998, (151,498), root:(835,518),
state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
- щелчок левой кнопкой мыши (теперь Потрясающий не может видеть щелчки мыши в своих виджетах/диалогах/...) -
LeaveNotify event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13422624, (151,498), root:(835,518),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 8448
EnterNotify event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13422625, (151,498), root:(835,518),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 8448
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 4294967189 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13422624, (151,498), root:(835,518),
state 0x0, button 1, same_screen YES
ButtonRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13422721, (151,498), root:(835,518),
state 0x2100, button 1, same_screen YES
- крышечки блокировки (изменение макета RU -> US) -
KeyPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13423836, (151,498), root:(835,518),
state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13423947, (151,498), root:(835,518),
state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
- побег (например, закрывает главное меню Удивительным-х) -
KeyPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13426419, (151,498), root:(835,518),
state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) ""
XmbLookupString gives 1 bytes: (1b) ""
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13426514, (151,498), root:(835,518),
state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) ""
XFilterEvent returns: False
- - блокировка крышки (изменить расположение США -> RU) -
KeyPress event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13427017, (151,498), root:(835,518),
state 0x0, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x1600001,
root 0x95, subw 0x0, time 13427096, (151,498), root:(835,518),
state 0x2000, keycode 66 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
- побег (игнорируется) -
P.S .: Я также задаюсь вопросом, где найти ключевые абсцессы для удивительного (напр. «Shift_R») и что именно означают эти Mod1, Mod2 и т. Д.
UPD: Это в основном такая же проблема, как описано в this question, но автор сказал только о переключении с помощью капота, а не о переключении по умолчанию (Alt-Shift).
И самое простое решение понизить Xorg-xkbcomp до версии 1.2.3 – Rast
Простейшее решение на самом деле редактирует/usr/share/X11/xkb/compat/basic и удаляет или комментирует «группу [2-4] = AltGr;» линии (все три из них). Обнаружено, следуя ссылкам в этом ответе на отчет об ошибке X11. –