Yet another gnome extension for window tiling inspired by awesome supporting multiple workspaces and screens.
By default the dash-to-dock extension of Ubuntu overrides all Mod4+[Shift]+Digit keybindings for selecting a workspace, or moving windows to a certain workspace.
To disable these shortcuts open the deconf-Editor, navigate to org/gnome/shell/extensions/dash-to-dock/hot-keys
and set it to false
, or use:
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false
On Ubuntu 19.04 you need also to disable all keybindings (see also here):
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 []
For a better feeling and working with multiple workspaces you should set the workspaces as static:
Open the Tweaks Tool and navigate to workspaces. Check Static Workspaces
and change to your desired number of workspaces, e. g. 10. Also you might want to check workspaces span displays
.
Mod4+e
: Select the next layout on the current monitor and workspaceMod4+Shift+e
: Select the previous layout on the current monitor and workspaceMod4+Ctrl+f
: Switch to the floating layoutMod4+Ctrl+h
: Switch to the horizontal box layoutMod4+Ctrl+v
: Switch to the vertical box layoutMod4+Ctrl+m
: Switch to the maximized layoutMod4+j
: Select the next window on the current monitor and workspaceMod4+k
: Select the previous window on the current monitor and workspaceMod4+Shift+j
: Swap the current client with the next client in a layoutMod4+Shift+k
: Swap the current client with the previous client in a layoutMod4+Ctrl+j
: Select the next monitorMod4+Ctrl+k
: Select the previous monitorMod4+o
: Move the active window to the next monitorMod4+Ctrl+Shift+j
: Move the active window to the next monitorMod4+Ctrl+Shift+k
: Move the active window to the previous monitorMod4+i
: Increase the master window areaMod4+u
: Decrease the master window areaMod4+Shift+i
: Increase the number of master windowsMod4+Shift+u
: Decrease the number of master windowsMod4+Ctrl+Return
: Swap the current window with the masterMod4+(1-5)
: Select the workspace with id (1-5)Mod4+Ctrl+(1-5)
: Move the current window to the workspace with id (1-5)Mod4+Shift+m
: Toggle maximize of the current windowMod4+Shift+f
: Toggle fullscreen of the current windowMod4+f
: Toggle floating of the current windowMod4+return
: Launch a gnome terminalTo install the extension to the gnome-shell default path ~/.local/share/gnome-shell/extensions
run make install
. To remove the extension run make remove
. You need to restart gnome Alt+F2 r
and enable the extension in the tweak tool to activate it.
To run the settings dialog you need to install clutter:
sudo apt install gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0