大寫 D 鍵不起作用/產生輸出

大寫 D 鍵不起作用/產生輸出

由於某種莫名其妙的原因,我的 Ubuntu 系統上的大寫d鍵不再產生輸出。按大寫鎖定,然後按 d 會產生 D。在「系統」>「首選項」>「鍵盤快速鍵」下,沒有任何內容與Shift+綁定。 dxev 產生以下結果:

shift+a

KeyPress event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31268952, (130,-16), root:(1000,525),
    state 0x10, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31269376, (130,-16), root:(1000,525),
    state 0x11, keycode 38 (keysym 0x41, A), same_screen YES,
    XLookupString gives 1 bytes: (41) "A"
    XmbLookupString gives 1 bytes: (41) "A"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31269584, (130,-16), root:(1000,525),
    state 0x11, keycode 38 (keysym 0x41, A), same_screen YES,
    XLookupString gives 1 bytes: (41) "A"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31269608, (130,-16), root:(1000,525),
    state 0x11, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

shift+d

KeyPress event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31102792, (115,-13), root:(985,528),
    state 0x10, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 36, synthetic NO, window 0x4c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 36, synthetic NO, window 0x4c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   64  0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 36, synthetic NO, window 0x4c00001,
    root 0x27a, subw 0x0, time 31103104, (115,-13), root:(985,528),
    state 0x11, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

答案1

FocusOut 和 FocusIn 事件意味著焦點被其他東西拉動。您很可能已Shift-D指定為某種視窗管理器熱鍵。

檢查您的視窗管理器鍵綁定並找到有問題的條目,然後您應該就好了。

相關內容