有谁知道如何绑定Fn+ Esc(或任何其他Fn+ 组合)快捷方式以使用默认的 GNOME 桌面环境在 Ubuntu 19.10 中执行脚本?
问题是 gnome-control-center 无法识别任何涉及该Fn键的快捷键组合。我知道如何通过 xev 命令获取Fn+的键码Esc,但我不知道如何使用它。
xev 输出:
KeyPress event, serial 34, synthetic NO, window 0x6000001,
root 0x16a, subw 0x0, time 4998279, (232,883), root:(352,997),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x6000001,
root 0x16a, subw 0x0, time 4998284, (232,883), root:(352,997),
state 0x4, 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 0x6000001,
root 0x16a, subw 0x0, time 4998287, (232,883), root:(352,997),
state 0x44, keycode 93 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x6000001,
root 0x16a, subw 0x0, time 4998292, (232,883), root:(352,997),
state 0x44, keycode 93 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x6000001,
root 0x16a, subw 0x0, time 4998299, (232,883), root:(352,997),
state 0x44, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x6000001,
root 0x16a, subw 0x0, time 4998305, (232,883), root:(352,997),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
非常感谢您的建议。