gnome-terminal:Altキーに奇妙な制御文字があります

gnome-terminal:Altキーに奇妙な制御文字があります

何か間違って整理したかもしれませんが、何なのかわかりません。(下記のアップデート1と2を参照)で(他のキーなしで)gnome-terminalクリックすると、すぐに端末に送信されます(以前は+をクリックしてテストしました)。 +を大量に使用しているため、制御シーケンスが記録の先頭またはから移動するため、これは非常に不幸なことです。しかし、+は必要に応じて機能し続け、ウィンドウ間を循環します。Alt^[<CtrlVAltAltTabvimAltTab

原因は何ですか、gnome-terminalのデフォルトの動作を復元するには?

  • オペレーティングシステム:Linux Mint 19.3 Tricia x86_64
  • カーネル: 5.3.0-24-一般
  • シェル:バッシュ4.4.20
  • VTE 0.52.2 + GNUTLS -PCRE2を使用したGNOME端末3.28.1

アップデート1

この問題は、外部に接続されたUSBキーボードではなく、ノートブックキーボード自体でのみ発生することがわかりました。外部キーボードが接続されると、2つのAltキーが異なる動作をします。

ノートパソコンはレノボP53です。

それでもノートパソコンのキーボードの問題を解決する方法がわかりませんが、少なくとも問題の原因に近いです。

アップデート2xev実行中は、Altまずノートパソコンのキーボードでこれをすばやく実行し、次に外部USBキーボードで実行しました。

# LAPTOP KEYBOARD ALT-KEY

MappingNotify event, serial 39, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 39, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9398319, (162,-8), root:(903,449),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 39, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9398319, (162,-8), root:(903,449),
    state 0x18, keycode 94 (keysym 0x3c, less), same_screen YES,
    XLookupString gives 1 bytes: (3c) "<"
    XmbLookupString gives 1 bytes: (3c) "<"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9398360, (162,-8), root:(903,449),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9398360, (162,-8), root:(903,449),
    state 0x10, keycode 94 (keysym 0x3c, less), same_screen YES,
    XLookupString gives 1 bytes: (3c) "<"
    XFilterEvent returns: False

# EXTERNAL USB KEYBOARD ALT-KEY

MappingNotify event, serial 40, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9402608, (162,-8), root:(903,449),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x6a00001,
    root 0x2b6, subw 0x0, time 9402704, (162,-8), root:(903,449),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

アップデート3

これはハードウェア障害である可能性があります(説明と回答を参照)。メーカーから新しいキーボードを受け取る予定です。

ベストアンサー1

これはハードウェアの欠陥であり、製造元が確認したものです。キーボードを交換すると問題が解決しました。調査にご協力いただきありがとうございます!

おすすめ記事