Skip to content

Instantly share code, notes, and snippets.

@evantancy
Last active March 27, 2022 07:36
Show Gist options
  • Save evantancy/1c8185ac01917473b2e72319377b319d to your computer and use it in GitHub Desktop.
Save evantancy/1c8185ac01917473b2e72319377b319d to your computer and use it in GitHub Desktop.
ubuntu 20.04 configuration

Ubuntu Config

Why customize? I love the window management with i3 and productivity that comes with associating certain applications to windows (now workspaces), and I've mostly setup i3 but am still figuring some things out. Also because I've spent the past week tweaking i3 when I should be studying for interviews... Hopefully by using these tweaks, it will improve your workflow and boost productivity.

Workspace shortcuts

To mimic i3 windows where you have to press Super + 1 to go to Window 1 etc. Why? I love the window management with i3 and productivity that comes with associating certain applications to windows (now workspaces), and I've mostly setup i3 but am still figuring some things out.

  1. disable the Super + {1..9} keys that launch apps on the dock
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 []
  1. set keybindings
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Super>1']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Super>2']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Super>3']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>4']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Super>5']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-6 "['<Super>6']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<Shift><Super>1']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<Shift><Super>2']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<Shift><Super>3']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<Shift><Super>4']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-5 "['<Shift><Super>5']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-6 "['<Shift><Super>6']"
  1. install gnome-tweaks, enable workspaces, and enable static workspaces
  2. enable workspace indicators
sudo apt install gnome-shell-extensions
sudo reboot

Go to Tweaks > Extensions > Workspace Indicators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment