251

I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab.

pomsky
  • 70,557
daniel451
  • 7,613

7 Answers7

327

Simply:

gsettings set org.gnome.shell.app-switcher current-workspace-only true
pomsky
  • 70,557
austinmarton
  • 3,385
211

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 :)

pomsky
  • 70,557
daniel451
  • 7,613
26

Seems to be fixed with

gsettings set org.gnome.shell.window-switcher current-workspace-only true
gsettings set org.gnome.shell.app-switcher current-workspace-only true
N0rbert
  • 103,263
22

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.

muru
  • 207,228
matty
  • 321
15

An alternative for people who want to tab through open windows on current workspace but also want to be able to tab through all open apps (on any workspace) this can be achieved by changing the keyboard shortcuts.

Under Settings > Devices > Keyboard (on Ubuntu 17.10):

  • Switch Windows: Alt+Tab
  • Switch Applications: Super+Tab
pomsky
  • 70,557
Clauds
  • 301
8

AlternateTab

If you also want to ungroup applications on switcher you can add the officially supported AlternateTab extension.

screenshot

Moreover:

Actually, Ubuntu is going to have the Alternatetab as default on Alt+tab in the upcoming version of Ubuntu (19.04), while the current default app switcher will remain on Super+tab.

Pablo Bianchi
  • 17,371
2

The other solutions here did not work for me on Ubuntu 18.04.1, but the Alt Tab Workspace extension worked.

k_g
  • 163
  • 8