Fn + F10 寫出字母「p」。我該如何學習這個?

Fn + F10 寫出字母「p」。我該如何學習這個?

我最近發現 Fn + F10 會產生“p”,但僅限於 Geany 或 Mousepad 等文字編輯器中。其他功能鍵(例如 Fn + F9)可以執行鎖定畫面等預期操作。我會發布有關我的電腦和軟體的信息,但我完全不知道什麼是相關的。相反,我不是要求修復,而是問:我在哪裡尋找相關資訊來理解/調試這個問題?

xev顯示以下內容:

KeyPress event, serial 37, synthetic NO, window 0x7600001,
    root 0x1a1, subw 0x0, time 23328457, (164,-6), root:(1313,476),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x7600001,
    root 0x1a1, subw 0x0, time 23328460, (164,-6), root:(1313,476),
    state 0x40, keycode 33 (keysym 0x70, p), same_screen YES,
    XLookupString gives 1 bytes: (70) "p"
    XmbLookupString gives 1 bytes: (70) "p"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x7600001,
    root 0x1a1, subw 0x0, time 23328603, (164,-6), root:(1313,476),
    state 0x40, keycode 33 (keysym 0x70, p), same_screen YES,
    XLookupString gives 1 bytes: (70) "p"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x7600001,
    root 0x1a1, subw 0x0, time 23328609, (164,-6), root:(1313,476),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

答案1

對於調試:打開終端並運行xev.現在按下Fn+F10按鍵。在輸出中尋找KeyPressKeyRelease事件,例如在我的筆記型電腦上Fn+F10是切換藍牙的關鍵。如您所見,xev將此密鑰報告為XF86Bluetooth

KeyPress event, serial 39, synthetic NO, window 0x9800001,
    root 0x7a5, subw 0x0, time 147780896, (74,64), root:(945,511),
    state 0x0, keycode 245 (keysym 0x1008ff94, XF86Bluetooth), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 39, synthetic NO, window 0x9800001,
    root 0x7a5, subw 0x0, time 147780896, (74,64), root:(945,511),
    state 0x0, keycode 245 (keysym 0x1008ff94, XF86Bluetooth), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

相關內容