35

I have windows for an editor, a browser, a web application, and a development tool for that browser open. Unity groups them as two applications: Chrome and Eclipse.

Alt-Tab switches application group, Alt-` switches windows in the same group. But, if my current window and previous window are from the same application group (Chrome), Alt-Tab switches to the previous window, not to Eclipse.

How can I configure Alt-Tab to always switch between application groups, not windows of the same app?

Lesmana
  • 18,754
Szabó B. Gábor
  • 359
  • 1
  • 3
  • 3

3 Answers3

18

Here is how to solve this:

  1. Open CompizConfig Settings Manager
  2. Go to the Unity Plugin settings and deactivate (uncheck enbabled) for the Alt+Tab and Alt+Tab+Shift shortcuts (or even all the other "switcher" related shortcuts.
  3. Then go to the CompizConfig main menu and to the "Window Management" section and enable one of the "Switchers", for example "Shift Switcher" or "Static Application Switcher".

All of these Switchers expose the old behaviour.


If you don't mind using the mouse instead of keyboard-shortcuts - one more note:

The Unity Launcher (the menu that comes up when you go to the left side of the screen) also works like an "old" taskbar. Clicking on an active app's icon brings that app's window to front. If an app icon indicates two or more windows of one app open, double-clicking opens a multiple-window grid that I think is more convenient than the multi-window "sub selector" that comes up through Alt+Tab for that same app group.


Update:

Actually now, I've come to accept the "grouping switcher" but with one novel way of using it (novel, at least for me):

I've found out that once you're working in one window from a group, you can switch between windows from this group by using ALT+^ (instead of ALT+TAB), for example switching between multiple instances of leafpad. And switching between windows from one group is what I usually do most, or wanted to do with ALT+TAB before. So this as a tip for everyone not knowing this very handy short-cut.

Tim
  • 33,500
isync
  • 664
0

Here is a workaround. Install ccsm, then deselect Desktop > Ubuntu Unity Plugin > Switcher > Automatically grid windows on timer in switcher. You might need to run "$ unity --replace" to get the settings to stick.

Having this setting on does the following. When holding onto Alt+Tab, if you wait with your selection over an application icon with multiple windows open, after a short time the window thumbnails are exposed. If this setting is off, then Alt+Tab only shows the application icon.

(It's a bit odd that changing this setting should have this side-effect, as it's not directly related, so it might be a bug? Perhaps it's a feature, but I've filed a bug in launchpad anyway.)

NIMISHAN
  • 1,625
  • 4
  • 20
  • 28
Sparhawk
  • 6,969
-1

By default the switcher is configured to switch applications like you mentioned. If you wish to change the behavior so that Alt+Tab will switch windows you can try the following:

Launch CompizConfig Settings Manager and choose the "Ubuntu Unity Plugin".
Currently the 'Switcher' tab probably looks like this:

enter image description here

Try moving the configuration of assigned keys from the first two rows to the marked last two.

yossile
  • 5,828