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:

  1. Install dconf-editor (already installed on current debian/ubuntu distributions):

    sudo apt-get install dconf-editor
    
  2. Open dconf-editor (from the Dash or a Terminal)

  3. Navigate to: org -> gnome -> shell -> app-switcher
  4. Set "current-workspace-only" to true

    screenshot

..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.