我喜欢通过Super+切换工作区。但不幸的是,Ubuntu 中+Number的默认行为是从 dock 中选择应用程序。SuperNumber
是否可以禁用该功能?我尝试覆盖键盘快捷键,但似乎不起作用。
答案1
对于 Ubuntu 17.10 - 18.10
在终端中运行以下命令:
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false
Super这应该禁用+ 0...的默认行为9。
答案2
对于 Ubuntu 19.04
此外Nolf 的回答,您还可以使用以下命令在命令行上设置这些设置:
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false
gsettings set org.gnome.shell.keybindings switch-to-application-1 []
gsettings set org.gnome.shell.keybindings switch-to-application-2 []
gsettings set org.gnome.shell.keybindings switch-to-application-3 []
gsettings set org.gnome.shell.keybindings switch-to-application-4 []
gsettings set org.gnome.shell.keybindings switch-to-application-5 []
gsettings set org.gnome.shell.keybindings switch-to-application-6 []
gsettings set org.gnome.shell.keybindings switch-to-application-7 []
gsettings set org.gnome.shell.keybindings switch-to-application-8 []
gsettings set org.gnome.shell.keybindings switch-to-application-9 []
更新:
我在用着仪表板现在(而不是Dash 到 Dock),但问题又出现了。现在我们需要以下命令:
dconf write /org/gnome/shell/extensions/dash-to-panel/hot-keys false
dconf write /org/gnome/shell/extensions/dash-to-panel/hotkey-prefix-text "''"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-10 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-10 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-10 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-10 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-10 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-1 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-2 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-3 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-4 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-5 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-6 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-7 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-8 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-9 "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-10 "['']"
然后关闭并打开扩展程序应该就可以工作了。
答案3
答案4
根据我在 Ubuntu 19.04 上的经验,我必须设置两个都
org.gnome.shell.extensions.dash-to-dock app-hotkey-1 '[]'
org.gnome.shell.keybindings switch-to-application-1 '[]'
为了停用应用程序启动器快捷方式 1.如果我只更改两个设置中的一个,它不起作用。