How do I easily switch between windows rather than applications in GNOME Shell?
Solution 1
Alternatetab is just the Extension you were looking for!
Follow the Managing Extensions
instructions here in order to activate it (you should read the text before that section too though). As it is a pre-installed Extensions you will only need to activate it (unless you have removed it, in which case you will need to follow the Installing a new Extension
section).
So now upon pressing ALT + TAB and then pressing TAB without letting go of ALT (until you have selected the window you want to switch to - then simply release both keys and it will put that window on top) you should be able to switch between individual windows as opposed to applications!
Solution 2
You can use Alt+` (the key above Tab) to cycle between windows of the same application.
You can even mix Alt+Tab to cycle between application and Alt+` to cycle between windows of the selected application.
There is an exposition of the rationale in this blog post from Canonical's Didier Roche. It's part of a series discussing the development of gnome integration in Ubuntu 17.10.
Solution 3
As someone still quite new to Ubuntu, I found the other answers confusing. After a bit of digging I found a simpler solution, as I also want Alt + Tab to toggle through all the open windows, not just through the open applications.
In Ubuntu 18.04, you just need to go the Keyboard settings as shown here
Then set Switch windows to Alt + Tab. It will automatically disable Switch applications which is assigned that key combination by default.
No extra software required.
Solution 4
You may use alt+esc combination.
It's not as aesthetically pleasing as alt+tab, it doesn't show the overlay with application icons/windows. But it does the job, it just switches to the next window and so on.
Solution 5
This behavior may also be achieved without a GNOME extension. I have found a similar question at Super User that points out how to set the proper GNOME key bindings.
To do it using gsettings
:
$ gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
$ gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']"
$ gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
$ gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
Using the code above when you press ALT+TAB you'll switch between windows, while pressing SUPER+TAB will get you to switch applications.
dconf-editor
allows the same with a graphical interface.
Related videos on Youtube
![pomsky](https://i.stack.imgur.com/A4LiS.jpg?s=256&g=1)
pomsky
Updated on September 18, 2022Comments
-
pomsky almost 2 years
Currently if I hold ALT + TAB and then while still holding down ALT I press TAB I am able to go between applications in a little view and then when I release all the keys that application and all its windows come to the front.
And this is very useful, but I would like to know if there is a way of switching between individual windows with this keyboard shortcut in the same way rather than grouping windows with an application to switch to?I am running Ubuntu GNOME 15.10 with GNOME 3.18.
-
Takkat over 8 yearsJust a note: Unity desktop has this feature by default.
-
Alex Greeneberg almost 8 yearsI still can't believe that Gnome broke AltTab.
-
-
TheWanderer over 8 yearsYou might want to add that the direct web installer option only works from Firefox. Chrome/Chromium (at least for me) shows a message saying a running copy of GNOME cannot be found.
-
Admin over 8 years@Zacharee1: Is the GNOME sort of integrations plugin not installed and activated in those browsers then?
-
TheWanderer over 8 yearsI'm not sure. I just know that on Chrome, the website can't detect if GNOME is running. I would guess it's because Firefox comes with a lot of Linux distros, and scripts that do that sort of detection tend to work differently in Firefox and Chrome
-
Admin over 8 years@Zacharee1: The website itself does not do the detection, it is an plug-in installed by default called
Gnome Shell Integration
, so if that's not installed in Chrome it won't work. -
TheWanderer over 8 yearsOh, well, yeah it isn't installed in Chrome :p. I was wondering how exactly it was done.
-
Zanna over 6 yearsThis works very nicely on MATE. Just mentioning, because it seems the behaviour on GNOME is not as clean. But I get an application-window-only switcher with this combination, exactly as I'd expect
-
Malachi Bazar over 6 yearsInstalling AlternateTab through the Ubuntu Store made it work flawlessly.
-
guettli over 5 yearsYou wrote "This works very nicely on MATE". What do you mean with "nice"? Do you mean Alt+TAB switches between windows? My usecase: I want to switch between two terminals with Alt+TAB. I don't want a work-around. I want Alt+TAB.
-
Wilson Freitas over 5 yearsI was using this solution and it was working great until today. It seems like a gnome update screw it. Now alt+tab only displays the windows from the latest application I used alt+`. It is quite strange because I even have alt+` disabled on gsettings. I was avoiding to move to Mint+Cinnamon, but this is the last piece of gnome annoyance I could tolerate. I enjoy gnome shell usability, but it is just too unstable for professional use.
-
Luke over 5 yearsnot the thing I want but very nice to know
alt esc
, it's good! -
Keerthi Kumar P almost 5 yearsThe extension is now deprecated. There is a video in the extension page and also this answer here describes a more easier way. askubuntu.com/a/1154780/970836
-
Tgr over 4 yearsThere is also no way to abort it (like you can<kbd>alt</kbd>+<kbd>tab</kbd> by pressing <kbd>esc</kbd>), which can get very annoying.
-
pomsky over 4 yearsYes, it seems there is no way to abort it, but you can also switch in the reverse direction by pressing <Alt><Shift><Esc>.
-
Robert Riedl over 4 yearsThis doesn't seem to work on non-Us keyboards...
-
Kiwy over 3 yearsawfull design choice, quote is all over the place when it comes to international keyboard...