Ubuntu – Force Alt + Tab switcher to display applications from active workspace


After upgrading to 11.10, the behavior of applications switcher (Alt + Tab) has changed. Now it displays applications across all workspaces. I have a lot of windows opened when working. I'm grouping opened applications to separate sets which are placed on different workspaces. This is how I found myself be more productive. But now it became totally time consuming, if I need click "tab" button more than 10 times while I reach some app.

How can I force the windows switcher to display only applications from current workspace?

Best Answer

For 12.04
By default the switcher in 12.04 only shows the applications in the active workspace.

For 11.10
The method described below does not force the Alt + Tab switcher to display applications from the active workspace but instead, display those applications next to each other. This would mean that you can switch to it relatively easily compared to switching between applications in all the workspaces.

You can change the behavior of the Alt + Tab switcher. There is an option in compizconfig-settings-manager Install compizconfig-settings-manager that lets you group the applications together from the active workspace.

To install CCSM, run the following command in a terminal:

sudo apt-get install compizconfig-settings-manager

To enable the setting, click on Ubuntu Unity plugin and select Switcher tab and tick Bias alt-tab sorting to prefer windows on the current viewport.

Unity plugin

Switcher option

This will ensure that the applications from the same workspace will get grouped together in the window switcher.