When I have multiple windows of an application opened e.g. Chrome main window and Incognito window, and I press Alt+Tab to switch between them, I see only one Chrome icon. I have to then press down key and then right (or left) to switch to the window I want.
How can I separate all opened windows and just press Tab again while pressing Alt key, like we used to in earlier versions of Ubuntu?
Go to Settings > Devices > Keyboard and scroll down the list of shortcuts. Alt+Tab will be the shortcut for Switch Applications.
What you want is to set Alt+Tab on Switch Windows instead, so click Switch Applications and press backspace to clear the shortcut for it. Click set. Then click Switch Windows and set Alt+Tab there instead. This will give you the desired function.
It's very simple to solve your problem without change the native keybindings.
All you need to do is type Alt+` (backtick, the key above Tab) if you want switch between the same apps.
To switch different apps, Alt+Tab.
Graphically using dconf-editor
From : https://superuser.com/a/860001/718726 (pasted here because there is no equivalent answer in here)
dconf-editor
org/gnome/desktop/wm/keybindings
'<Alt>Tab'
fromswitch-applications
toswitch-windows
'<Shift><Alt>Tab'
fromswitch-applications-backward
toswitch-windows-backward
switch-windows
to work across desktops, not just in the current desktop, you can also uncheckorg/gnome/shell/window-switcher/current-workspace-only
(Courtesy of @CharlBotha)dconf-editor
The last step does not always appear to be necessary, but it should not hurt (especially since it does not close any of your running applications).
Equivalent using command-line (no need to install dconf-editor)
Run the following lines in your terminal:
If you want
switch-windows
to work across desktops, not just in the current desktop, you can also execute:If you don't notice any change you can press Alt+F2, then type r to restart Gnome.
Install the gnome shell extension AlternateTab