如何使用命令行显示超级键生成的快捷键列表

如何使用命令行显示超级键生成的快捷键列表

什么命令可以显示与按住super键相同的结果?!

即列出系统中所有快捷方式的命令是什么...

在此处输入图片描述

答案1

您可以使用以下方式获取其中一些:

$ gsettings list-recursively org.gnome.desktop.wm.keybindings | grep -v '\[\]' | cut -f 1 -d ' ' --complement
cycle-windows-backward ['<Shift><Alt>Escape']
minimize ['<Primary><Alt>KP_0']
move-to-monitor-left ['<Super><Shift>Left']
unmaximize ['<Primary><Super>Down', '<Super>Down', '<Alt>F5']
panel-main-menu ['<Super>s', '<Alt>F1']
cycle-windows ['<Alt>Escape']
cycle-panels-backward ['<Shift><Control><Alt>Escape']
panel-run-dialog ['<Alt>F2']
switch-to-workspace-down ['<Control><Alt>Down']
move-to-corner-ne ['<Primary><Alt>KP_Prior']
move-to-side-e ['<Primary><Alt>KP_Right']
move-to-workspace-right ['<Control><Shift><Alt>Right']
move-to-workspace-up ['<Shift><Control><Alt>Up']
maximize ['<Primary><Super>Up', '<Super>Up', '<Primary><Alt>KP_5']
cycle-group-backward ['<Shift><Alt>F6']
move-to-side-n ['<Primary><Alt>KP_Up']
move-to-side-s ['<Primary><Alt>KP_Down']
move-to-side-w ['<Primary><Alt>KP_Left']
move-to-corner-nw ['<Primary><Alt>KP_Home']
begin-move ['<Alt>F7']
move-to-monitor-down ['<Super><Shift>Down']
move-to-workspace-left ['<Control><Shift><Alt>Left']
move-to-corner-se ['<Primary><Alt>KP_Next']
activate-window-menu ['<Alt>space']
switch-input-source ['<Super>space']
move-to-monitor-right ['<Super><Shift>Right']
switch-input-source-backward ['<Shift><Super>space']
move-to-workspace-last ['<Super><Shift>End']
cycle-panels ['<Control><Alt>Escape']
move-to-monitor-up ['<Super><Shift>Up']
move-to-corner-sw ['<Primary><Alt>KP_End']
toggle-shaded ['<Primary><Alt>s']
switch-to-workspace-1 ['<Primary><Mod2>Alt_L']
switch-panels ['<Control><Alt>Tab']
switch-panels-backward ['<Shift><Control><Alt>Tab']
switch-applications-backward ['<Shift><Super>Tab', '<Shift><Alt>Tab']
show-desktop ['<Primary><Super>d', '<Primary><Alt>d', '<Super>d']
switch-applications ['<Super>Tab', '<Alt>Tab']
switch-to-workspace-left ['<Control><Alt>Left']
toggle-maximized ['<Primary><Alt>KP_5']
begin-resize ['<Alt>F8']
move-to-workspace-down ['<Shift><Control><Alt>Down']
switch-to-workspace-last ['<Super>End']
switch-group-backward ['<Shift><Super>Above_Tab', '<Shift><Alt>Above_Tab']
switch-group ['<Super>Above_Tab', '<Alt>Above_Tab']
cycle-group ['<Alt>F6']
close ['<Alt>F4']
switch-to-workspace-up ['<Control><Alt>Up']
move-to-workspace-1 ['<Super><Shift>Home']
switch-to-workspace-right ['<Control><Alt>Right']

和:

$ dconf read /org/compiz/integrated/show-hud
['<Alt>l']

Unity Lens 快捷键 ( Super+ ) 定义如下:

$ grep Shortcut /usr/share/unity/scopes/*.scope
/usr/share/unity/scopes/applications.scope:Shortcut=a
/usr/share/unity/scopes/files.scope:Shortcut=f
/usr/share/unity/scopes/music.scope:Shortcut=m
/usr/share/unity/scopes/photos.scope:Shortcut=c
/usr/share/unity/scopes/video.scope:Shortcut=v

Unity 快捷方式(例如Super+<1 到 9>)是 Unity 的内部功能,无法从命令行列出。

相关内容