なぜLCtrl + LeftとLShift + Leftだけが機能しないのですか?

なぜLCtrl + LeftとLShift + Leftだけが機能しないのですか?

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。カーソルを前の単語に移動する必要があります。私たちは友達ともう少し調べたところ、同じ設定の外部キーボードを使用することが期待どおりに機能するようです(前の単語に移動するには2つのキー+左矢印)。したがって、これが最初のハードウェアキーボード(ノートブックキーボード)。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)、いくつかのイベントが生成されるようです。

ベストアンサー1

おすすめ記事