Extension for the Gnome Shell to quickly toggle between the two last workspaces with a single key (Super+Escape).
It installs a keybinding which defaults to <Super>Escape
. Repeatedly
pressing the shortcut key causes the active workspace to toggle
between the last two selected workspaces.
NOTE: This latest version v12 of the extension only supports Gnome 45.
Use GNU make:
make install
To just pack/build the extension without installation
make build
Grab the extension from Gnome Extensions
Manual : Grab the latest release and unzip to .local/share/gnome-shell/extensions/gnome-shell-go-to-last-workspace@github.com/
From extension version 6 it is possible to change the shortcut key using an extension preferences window.
Alternatively, to change the default shortcut run something like this:
gsettings --schemadir $HOME/.local/share/gnome-shell/extensions/gnome-shell-go-to-last-workspace@github.com/schemas \
set org.gnome.shell.extensions.go-to-last-workspace shortcut-key "['<Super>Tab']"
If you by some reason need run this awesome extension on ancient Gnome 3.20, e.g. on Ubuntu 16.04, please use the following instructions:
$ cd ~/.local/share/gnome-shell/extensions
$ rm -rf ./gnome-shell-go-to-last-workspace@github.com/
$ git clone https://github.com/arjan/gnome-shell-go-to-last-workspace.git
$ mv gnome-shell-go-to-last-workspace gnome-shell-go-to-last-workspace@github.com
$ git checkout 6c82ffa82b869e6a97928709788f9a68b38369fa
$ gsettings --schemadir ~/.local/share/gnome-shell/extensions/gnome-shell-go-to-last-workspace@github.com/schemas set org.gnome.shell.extensions.go-to-last-workspace shortcut-key "['<Super>Escape']"
Press Alt+F2
, then type r
and press enter key.