键盘 - 在Ubuntu 19.04上禁用默认的dock app shortcut(super + num)功能

・2 分钟阅读

问题:

我想禁用使用Super 0 ... 9来打开驻留在Dock中的应用程序的功能,这样我就可以使用Super 0 ... 9来切换工作区。

在Ubuntu 17.10 18.10之前,可以使用以下命令禁用:

 

gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false



更新到 Ubuntu 19.04后这个解决方案对我来说不再有效。

我如何在Ubuntu 19.04中实现同样的功能?


回答 1:

安装 dconf-tools ( sudo apt install dconf-tools )和打开dconf-editor,用空括号"[]"替换键盘快捷键,如屏幕截图所示。

Screenshot of how this is done for supr+5 keyboard shortcut


回答 2:

你还可以使用以下命令在命令行上设置这些设置:

 

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 []




讨论
Tianye profile image