59

When I use ALT+TAB to cycle through my apps I would like to have icons for all my open browsers. I use the ` (Grave or the key above TAB) but I really find that hard to use.

Anyway I can just use ALT+TAB only?

47

Here is my solution:

  1. Install compizconfig-settings-manager and open it (type ccsm in terminal).

  2. Go to Desktop > Ubuntu Unity Plugin.

  3. Open Switcher tab and make key to start the switcher and key to start the switcher in reverse disabled.

  4. Go back to CompizConfig Settings Manager.

  5. Go to Window Management and enable Application Switcher.

  6. Open Application Switcher and change key bindings of "Next Window (All windows)" to Alt-Tab and "Prev window (All windows)" to Shift-Alt-Tab.

Then you will start to use a different switcher instead of Unity's switcher.

  • 2
    The application switcher seems gone in Ubuntu 12.10. – levesque Feb 13 '13 at 17:07
  • 1
    You have to install compiz-plugins in Ubuntu 12.10 – Tom Mayfield Mar 11 '13 at 19:22
  • 1
    Worked for me on 13.04, too. – Daniel Albuschat Jun 23 '13 at 8:07
  • 4
    Window Management seems not present in 14.04 – Pierre de LESPINAY Jul 25 '14 at 9:40
  • 2
    I am frustrated by this, especially for browser. I usually have 4-5 browser windows open which I switch between pretty frequently. Here each time I have to switch I have to wait half a second on browser icon in switcher which then shows all browser windows which I can then switch between. Windows does this straight. And I am surprised I have to follow so many steps and in fact install another software for a basic feature which should have been properly implemented in OS itself. – Mahesha999 Apr 26 '17 at 15:52
22

The other option -which I'm testing out this week- is to have the ALT+TAB switch between apps, and ALT+| switch between windows of the same app. It sounds complicated but it works surprisingly well.

Use case A: You're on Firefox and want to switch to Thunderbird: ALT+TAB.

Use case B: You're on a Calc window and want to switch to another Calc window: ALT+|.

In B, you could use the old way of ALT+TAB, where it cycles through all your windows, but it can take a while to do that if you have more than a few windows open. With this thing, you always know where you want to go, and choose the quicker way to get there.

I choose | because it's just above TAB, so my brain and my finger don't need to move very far.

To enable this: System Settings > Keyboard > Shortcuts > Navigation > Switch windows of an application (it's just underneath Switch applications, which is how I found it).

Easy to test, safe, easy to revert, no need to install anything.

  • 7
    The same behaviour seems enabled by default with ALT + the key between ESC and TAB (which is ² for AZERTY layout), at least in 14.04. – Skippy le Grand Gourou Aug 30 '15 at 10:40
  • On my system, the within-app switching key is Alt-`. – jdpipe Aug 9 '18 at 2:27
8

Before installing anything, try these key combinations:

  • alt + | (the key above Tab, may be `, º, |...) to switch between instances of the current application
  • alt + ESC to direct switch to the next window
  • alt + Tab, of course, to switch between different applications

You can see the three keys are neighbors.

  • 1
    The idea of the original question is not to use the "new" way of alt tabbing. I get cramp in my fingers when i do these combos. – Jepzen Jul 10 '18 at 12:54
  • non-standard, weird, not intuitive combos... – Fábio Dias Oct 3 '18 at 20:04
7

Otuzbesli's answer works but for Ubunut 14.04 you need to install compiz-plugins in addition to compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager compiz-plugins
4

Just thought I would share this since I tried to follow the accepted answer but couldn't find the Ubuntu Unity switcher. I'm running 18.04 and I was able to change the alt-tab behavior by:

  1. going to settings->devices->keyboard
  2. scroll down to the shortcut for "Switch Windows" (under the "Navigation" section)
  3. change the shortcut for Switch Windows to alt-tab

This will overwrite the shortcut for "Switch Applications" which is the default behavior for alt-tab

3

I'm running Ubuntu 18.04 running the Gnome shell. I installed Gnome Tweaks via

sudo apt install gnome-tweak-tool

and went to

Extensions -> AlternateTab

and switched the toggle to "On".
This changed the window-switcher to not group by application.

  • The question is for Unity, your answer apply to GNOME Shell (Ubuntu 17.10+). The corresponding question is here. – Pablo A Apr 8 at 1:40
  • @PabloBianchi Oh, I didn't notice that. This post is the first google result if you search for "ubuntu alt+tab", so I assumed it was the right place. – Alex Lamson Apr 8 at 14:30
1

I tried this and as soon as I launched ccsm:

  • my desktop was gone. No start menu, taskbar, launcher.. Just the wallpaper.
  • Alt+Tab doesn't work at all.

I was able to launch a Terminal using right click on desktop. Many people faced this under different situations. Solution always said reset compiz config, delete x11 config, delete gnome config and launch unity with setsid unit && unit.

For me it said:

(0)kash@Laptop$ setsid unity
setsid: failed to execute unity: No such file or directory
(0)kash@Laptop$

They also said launch ccsm again and enable Unity plugin there. Well, it just wasn't there in the list of enabled or disabled plugins.

Many heart attacks later

sudo apt-get install unity
unity

I hate the dev who made ccsm.

After you install Unity, when you launch ccsm, it has Unity plugin in it.

I had Ubuntu 16.04.3 LTS running inside a VirtualBox with Windows 10 Host.

  • 1
    @mmKALLL looks like a link to this question. – Kashyap May 16 '18 at 18:39
  • I just hit this myself... For reference, here is an Ask Ubuntu answer documenting variations of the process required, along with more details; askubuntu.com/questions/17381/… (thanks @Kashyap) – mmKALLL May 17 '18 at 4:59
0

"Alt + F6" can be used to switch the window within the same application while "Alt + Tab" continues to be the best known combination to switch to another application.

0

In Ubuntu 19 just install

sudo apt install compizconfig-settings-manager compiz-plugins

and then open compizconfig settings manager

ccsm

Go to windows management on left sidebar > then select Application Switcher then just enable Application Switcher from left sidebar.

And that it, when you use Alt+Tab now you will see application not grouped in Alt+Tab dialog.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.