Fn + F10 可以写出字母“p”。我该如何学习呢?

Fn + F10 可以写出字母“p”。我该如何学习呢?

我最近发现 Fn + F10 可以产生“p”,但仅限于 Geany 或 Mousepad 等文本编辑器。其他功能键(例如 Fn + F9)可以执行锁定屏幕等预期操作。我会发布有关我的 PC 和软件的信息,但我一点也不知道哪些信息是相关的。因此,我没有寻求修复,而是问:我在哪里可以找到相关信息来理解/调试这个问题?

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

相关内容