左 Shift 键触发左 Alt 键

左 Shift 键触发左 Alt 键

当我按下戴尔多媒体键盘上的左移键时,它的行为就像我按下了该alt键一样。

操作系统:Ubuntu 18.04.3

运行输出xev -event keyboard

Outer window is 0x3400001, inner window is 0x3400002

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  32  0   0   0   16  0   0   0   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 25, synthetic NO, window 0x3400001,
    root 0x4cc, subw 0x0, time 1438677, (310,475), root:(377,532),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x3400001,
    root 0x4cc, subw 0x0, time 1441909, (310,475), root:(377,532),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 28, synthetic NO, window 0x3400001,
    root 0x4cc, subw 0x0, time 1441909, (310,475), root:(377,532),
    state 0x11, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x3400001,
    root 0x4cc, subw 0x0, time 1441941, (310,475), root:(377,532),
    state 0x19, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x3400001,
    root 0x4cc, subw 0x0, time 1441941, (310,475), root:(377,532),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

我尝试过多种方法来重置键盘,例如:

dpkg-reconfigure keyboard-configuration

并重置键盘配置设置->设备->键盘

但迄今为止,还没有任何方法可以治愈该病。

相关内容