Force alt + tab to switch only on current workspace in GNOME shell
Simply:
gsettings set org.gnome.shell.app-switcher current-workspace-only true
Here is the solution I came up with:
Very fast & easy, without any installations/extensions:
Install
dconf-editor
(already installed on current debian/ubuntu distributions):sudo apt-get install dconf-editor
Open
dconf-editor
(from the Dash or a Terminal)- Navigate to: org -> gnome -> shell -> app-switcher
Set "current-workspace-only" to true
..and you're done :)
As an alternative to installing dconf-editor
and having to fiddle around with your mouse so much, you can also do this from terminal.
To create the current-workspace-only
value:
dconf write /org/gnome/shell/app-switcher/current-workspace-only 'true'
To erase it, going back to default settings:
dconf reset /org/gnome/shell/app-switcher/current-workspace-only
I would like dconf-editor
more if it could search through paths, properties, and values.