#!/bin/bash for i in {1..9} do gsettings set org.gnome.shell.keybindings switch-to-application-$i "['']" gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['$i']" gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-$i "['$i']" done