Gnome设置工作区系列按键跟i3一样脚本
zsh执行
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false
dconf write /org/gnome/shell/extensions/dash-to-panel/hot-keys false
dconf write /org/gnome/shell/extensions/dash-to-panel/hotkey-prefix-text "''"
for i in $(seq 1 10); do
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-$i "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-hotkey-kp-$i "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-$i "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-ctrl-hotkey-kp-$i "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-$i "['']"
dconf write /org/gnome/shell/extensions/dash-to-panel/app-shift-hotkey-kp-$i "['']"
done
for i in $(seq 1 9); do gsettings set org.gnome.shell.keybindings switch-to-application-${i} '[]'; done
for i in $(seq 1 9); do dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-$i "['<Super>$i']";done
for i in $(seq 1 9); do dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-$i "['<Super><Shift>$i']";done