描述:
我有一些键盘快捷键,它们在某些程序中无法正确运行。
例如瘸子,按下Shift+ Ctrl+时E:它应该打开“导出图像”窗口以保存图像。
或者,当我想截取活动窗口的屏幕截图时,Alt+Prnt Screen组合正在截取 Unity 搜索栏的屏幕截图(当时根本没有打开)。
问题:
为什么这些快捷方式是错误的以及如何正确恢复它们?
我不想在这里搜索并列出更多示例,但我很确定我将来会遇到其他一些示例。
细节:
我正在使用全新安装的 Ubuntu 18.04:4.15.0-42-generic x86_64 GNU/Linux
和 Unity 7.5.0
:。
更新:
xev
输出:
Shift:
KeyPress event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30578572, (104,-9), root:(2255,237),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30578780, (104,-9), root:(2255,237),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Ctrl:
KeyPress event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30407692, (736,229), root:(2887,475),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30407820, (736,229), root:(2887,475),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
E:
KeyPress event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30496732, (156,-13), root:(2307,233),
state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
XLookupString gives 1 bytes: (65) "e"
XmbLookupString gives 1 bytes: (65) "e"
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30496796, (156,-13), root:(2307,233),
state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
XLookupString gives 1 bytes: (65) "e"
XFilterEvent returns: False
Shift+ Ctrl+ E:
KeyPress event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30703253, (157,-18), root:(2308,228),
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 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30704005, (157,-18), root:(2308,228),
state 0x11, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
PropertyNotify event, serial 37, synthetic NO, window 0x4c00001,
atom 0x14b (_NET_WM_STATE), time 30704789, state PropertyNewValue
PropertyNotify event, serial 37, synthetic NO, window 0x4c00001,
atom 0x14b (_NET_WM_STATE), time 30704789, state PropertyNewValue
Alt:
KeyPress event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30805069, (237,-20), root:(2388,226),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
root 0x199, subw 0x0, time 30805157, (237,-20), root:(2388,226),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 37, synthetic NO, window 0x4c00001,
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
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 37, synthetic NO, window 0x4c00001,
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
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyNormal, detail NotifyNonlinear
FocusIn event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyNormal, detail NotifyNonlinear
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
FocusOut event, serial 37, synthetic NO, window 0x4c00001,
mode NotifyNormal, detail NotifyNonlinear