# My Gnome Workspaces Setup

I got used to using virtual desktops / workspaces on i3wm and prefer a technique where I keep certain apps in certain locations. I can quickly switch to the right workspace by using Super+# where # is 0-9. Moving a window to the correct workspace is Shift+Super+#. Here's a quick overview of how I configure that.

* In settings, set workspaces to fixed number at 10
* Install Gnome Widgets related to Workspaces: Auto Move Windows, Disable Workspace Switch Animation

## Unset Super+# from launching apps

```bash
for i in {1..10}; do gsettings set "org.gnome.shell.extensions.dash-to-dock" "app-hotkey-$i" "[]"; done
```

## Rebind Super+# & Shift+Super+#

```bash
for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<Super>$i']"; done
for i in {1..9}; do gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['<Super><Shift>$i']"; done
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-10" "['<Super>0']"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-10" "['<Super><Shift>0']"
```


Originally Published 2020-08-16 at:
gemini://tilde.team/~tomasino/journal/20200816-gnome-workspaces.gmi

If you have questions or thoughts to add please send me a link to your response.
=> /~tomasino/about.txt Contact Information
