23 votes

Désactiver la fonctionnalité de la touche d'application par défaut (super+num) sur Ubuntu 17.10 et ultérieures

J'aime changer d'espace de travail via Super + Number . Mais malheureusement le comportement par défaut dans Ubuntu pour Super + Number est de sélectionner des applications dans le dock.

Est-il possible de désactiver cette fonctionnalité ? J'ai essayé de remplacer les raccourcis clavier, mais cela ne semble pas fonctionner.

22voto

pomsky Points 62110

Pour Ubuntu 17.10 - 18.10

Exécutez la commande suivante dans le Terminal :

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

Cela devrait désactiver le comportement par défaut de Super + 0 ... 9 .

20voto

Anna Points 11

Pour Ubuntu 19.04

En plus de La réponse de Nolf Vous pouvez également définir ces paramètres en ligne de commande à l'aide des commandes suivantes :

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

Mise à jour :

J'utilise Dash to Panel maintenant (au lieu de Dash to Dock ) et j'ai retrouvé le même problème. Maintenant, nous avons besoin de ces commandes :

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

Et puis éteindre et rallumer l'extension devrait la faire fonctionner.

10voto

Nolf Points 101

Pour Ubuntu 19.04

Instalar dconf-editor ( sudo apt install dconf-editor ) et ouvrir dconf-editor . Remplacez les raccourcis clavier par des parenthèses vides ' [] comme indiqué dans la capture d'écran.

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

2voto

Balint Points 121

D'après mon expérience, sur Ubuntu 19.04, je dois configurer les deux

org.gnome.shell.extensions.dash-to-dock app-hotkey-1 '[]'
org.gnome.shell.keybindings switch-to-application-1 '[]'

afin de désactiver le raccourci du lanceur d'applications 1. Si je ne modifie qu'un seul des deux paramètres, cela ne fonctionne pas.

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X