Skip to content

Instantly share code, notes, and snippets.

@wiredmatt
Created September 9, 2025 21:58
Show Gist options
  • Select an option

  • Save wiredmatt/bbefbcab7be64c9490b21e8187e6384a to your computer and use it in GitHub Desktop.

Select an option

Save wiredmatt/bbefbcab7be64c9490b21e8187e6384a to your computer and use it in GitHub Desktop.
GNOME Workspaces Key Remaps.
for i in {1..9}; do gsettings set "org.gnome.shell.keybindings" "switch-to-application-${i}" '[]'; done # disable the default Mod + Number behavior
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false || echo "dash-to-dock extension not installed." # only needed if you're using the dash-to-dock extension
for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<Super>${i}']"; done # Super + N now switches you to the Nth workspace.
for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['<Super><Shift>${i}']"; done # Super + Shift + N now sends the focused window to the Nth workspace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment