通过左右箭头进行的文本导航不起作用

通过左右箭头进行的文本导航不起作用

我正在使用 Ubuntu 16.06,遇到了以下问题。在文本中左右箭头导航在任何地方都不起作用,控制台、任何编辑器或浏览器也不起作用。

可疑的是,当我运行 xev 时,我看到以下内容。当我按上下箭头时:

 KeyPress event, serial 37, synthetic NO, window 0x3c00001,
    root 0x50a, subw 0x0, time 5603186, (-756,-476), root:(2035,0),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3c00001,
    root 0x50a, subw 0x0, time 5603250, (-756,-476), root:(2035,0),
    state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3c00001,
    root 0x50a, subw 0x0, time 5604250, (-756,-476), root:(2035,0),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3c00001,
    root 0x50a, subw 0x0, time 5604314, (-756,-476), root:(2035,0),
    state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

也就是说,合法的按键和释放事件,当我按下左箭头和右箭头时:

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   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   0   0   0   0   

PropertyNotify event, serial 37, synthetic NO, window 0x3c00001,
    atom 0x14d (_NET_WM_STATE), time 5704210, state PropertyNewValue

FocusOut event, serial 37, synthetic NO, window 0x3c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  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   0   0   0   0   0   

FocusOut event, serial 37, synthetic NO, window 0x3c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   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   0   0   0   0

看起来好像存在一些奇怪的映射,但是它们设置在哪里以及如何重置它们?

相关内容