Linux(Kali)에서 최근에 이상한 동작이 발생했습니다(이전에는 눈치채지 못했습니다).
- RCtrl+ Right Arrow작동
- RCtrl+ Left Arrow작동
- RShift+ Right Arrow작동
- RShift+ Left Arrow작동
- LCtrl+ Right Arrow작동
- LCtrl+Left Arrow 작동하지 않습니다
- LShift+ Right Arrow작동
- LShift+Left Arrow 작동하지 않습니다
- RCtrl+ RShift+ Right작동(다음 단어 선택)
- LCtrl+ RShift+ Right작동 (동일)
- LCtrl+ RShift+Left 작동하지 않습니다
- LCtrl+ LShift+Left 작동하지 않습니다
LCtrl 따라서 / LShift+ 조합을 Left arrow제외한 모든 키 입력이 제대로 작동하는 것 같습니다 .
왜 이런 이상한 동작이 발생하는지 아시나요?
예상되는 행동 및 조사 업데이트:
LCtrl나는 +가 +와 동일하게(또는 +와 유사하게) 동작하기를 원합니다 Left arrow. 커서를 이전 단어로 이동해야 합니다. 우리는 친구들과 좀 더 조사한 결과 동일한 구성의 외부 키보드를 사용하는 것이 예상대로 작동하는 것 같다는 것을 발견했습니다(이전 단어로 이동하려면 두 개의 키 + 왼쪽 화살표). 따라서 이것이 첫 번째 하드웨어 키보드( 노트북 키보드).RCtrlLeft arrowLCtrlRight arrowCtrl
이 문제에 대한 "하드웨어" 수정에 대한 제안 사항이 있습니까(더 이상 Linux와 관련이 없으므로 올바른 Stack Exchange 사이트가 아닐 수 있음)?
셰프
이것이 물리적인 키 누름에 대해 xev를 사용하여 얻는 결과입니다.
- 누르다LCtrl
- 누르다LSHift
- 누르다Left arrow
- 풀어 주다Left arrow
- 풀어 주다LShift
- 풀어 주다LCtrl
- 누르다LCtrl
- 누르다LSHift
- 누르다Right arrow
- 풀어 주다Right arrow
- 풀어 주다LShift
- 풀어 주다LCtrl
dragon@kaliportable:~$ xev
Outer window is 0x3000001, inner window is 0x3000002
PropertyNotify event, serial 8, synthetic NO, window 0x3000001,
atom 0x27 (WM_NAME), time 4136398, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x3000001,
atom 0x22 (WM_COMMAND), time 4136398, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x3000001,
atom 0x28 (WM_NORMAL_HINTS), time 4136398, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x3000001,
parent 0x3000001, window 0x3000002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x3000001,
atom 0x14e (WM_PROTOCOLS), time 4136402, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x3000001,
event 0x3000001, window 0x3000002, override NO
ConfigureNotify event, serial 20, synthetic NO, window 0x3000001,
event 0x3000001, window 0x3000001, (0,0), width 178, height 178,
border_width 0, above 0x60000b, override NO
PropertyNotify event, serial 28, synthetic NO, window 0x3000001,
atom 0x1d1 (_NET_WM_ALLOWED_ACTIONS), time 4136402, state PropertyNewValue
ReparentNotify event, serial 29, synthetic NO, window 0x3000001,
event 0x3000001, window 0x3000001, parent 0x600f1f,
(0,0), override NO
PropertyNotify event, serial 29, synthetic NO, window 0x3000001,
atom 0x153 (_NET_FRAME_EXTENTS), time 4136413, state PropertyNewValue
ConfigureNotify event, serial 29, synthetic NO, window 0x3000001,
event 0x3000001, window 0x3000001, (10,37), width 178, height 178,
border_width 0, above 0x0, override NO
PropertyNotify event, serial 29, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136413, state PropertyNewValue
PropertyNotify event, serial 31, synthetic NO, window 0x3000001,
atom 0x156 (_NET_WM_DESKTOP), time 4136421, state PropertyNewValue
PropertyNotify event, serial 32, synthetic NO, window 0x3000001,
atom 0x19b (WM_STATE), time 4136423, state PropertyNewValue
PropertyNotify event, serial 32, synthetic NO, window 0x3000001,
atom 0x15c (_NET_WM_STATE), time 4136423, state PropertyNewValue
PropertyNotify event, serial 32, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136423, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136428, state PropertyNewValue
ConfigureNotify event, serial 34, synthetic YES, window 0x3000001,
event 0x3000001, window 0x3000001, (48,104), width 178, height 178,
border_width 2, above 0x0, override NO
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136442, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x15c (_NET_WM_STATE), time 4136443, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136443, state PropertyNewValue
MapNotify event, serial 34, synthetic NO, window 0x3000001,
event 0x3000001, window 0x3000001, override NO
VisibilityNotify event, serial 34, synthetic NO, window 0x3000001,
state VisibilityUnobscured
Expose event, serial 34, synthetic NO, window 0x3000001,
(0,0), width 178, height 10, count 3
Expose event, serial 34, synthetic NO, window 0x3000001,
(0,10), width 10, height 58, count 2
Expose event, serial 34, synthetic NO, window 0x3000001,
(68,10), width 110, height 58, count 1
Expose event, serial 34, synthetic NO, window 0x3000001,
(0,68), width 178, height 110, count 0
FocusIn event, serial 34, synthetic NO, window 0x3000001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x15c (_NET_WM_STATE), time 4136456, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136456, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x15c (_NET_WM_STATE), time 4136456, state PropertyNewValue
PropertyNotify event, serial 34, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4136456, state PropertyNewValue
KeyPress event, serial 34, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4137624, (610,103), root:(660,209),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4138162, (610,103), root:(660,209),
state 0x14, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4139610, (610,103), root:(660,209),
state 0x15, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4140217, (610,103), root:(660,209),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4140814, (610,103), root:(660,209),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4141468, (610,103), root:(660,209),
state 0x14, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4142038, (610,103), root:(660,209),
state 0x15, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4142177, (610,103), root:(660,209),
state 0x15, keycode 114 (keysym 0xff53, Right), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4142837, (610,103), root:(660,209),
state 0x15, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3000001,
root 0x116, subw 0x0, time 4143460, (610,103), root:(660,209),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 37, synthetic NO, window 0x3000001,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 37, synthetic NO, window 0x3000001,
atom 0x15c (_NET_WM_STATE), time 4145868, state PropertyNewValue
PropertyNotify event, serial 37, synthetic NO, window 0x3000001,
atom 0x1aa (_GTK_EDGE_CONSTRAINTS), time 4145869, state PropertyNewValue
^C
간단히 말해서, Left arrow동시에 누르면 right arrow(두 경우 모두 LCtrl+LShift) 일부 이벤트가 생성되는 것처럼 보입니다.