201

Is there a keyboard shortcut, or can I somehow bind a shortcut, to switch between windows within an application (similar to opt+~ on macOS)?

Ideally, I'd like Alt+Tab to be unaffected or to be rebound to switch between applications (not between windows).

Andrew M
  • 2,398

8 Answers8

340

The existing shortcut is Alt + key above TAB

Depending on your keyboard key above TAB could be §, `, º, ^, ², etc.

Pablo Bianchi
  • 15,657
user0x0
  • 3,516
15

You should press Alt and the key just above the Tab key.

From comments, this is the key you should be pressed by keyboard layout:

  • Spanish ALT + º.
  • German ALT + ^.
  • Azerty french ALT + ².

In others may be ALT + § o ALT + ` (I don't know from where they come)

PhoneixS
  • 642
7

If someone looking to bind to a different key combination, It can be done in settings. On Ubuntu 18.04.3, go to

settings > Devices > Keyboard >

Under Keyboard Shortcuts scroll to Navigation and click on Switch windows of an application change the key combination and set it. I have changed mine to Ctrl+` (the key above Tab)

Kulfy
  • 17,696
  • In my case the shortcut was set to Super+\``, butAlt+`` was also working. But I had the \`` symbol also mapped for another key, not that one above tab, and the shortcuts didn't work with this key. I just manually remapped the binding in settings toSuper+`` (the same as default) and the another key started working too – Dany Mar 29 '21 at 08:09
6
  1. To go to the active application: ALT+TAB
  2. If multiple instance of the selected applications are opened and you want to navigate among them use : ALT+`
Aks
  • 629
  • 5
  • 6
  • same as accepted answer – Félicien Feb 26 '18 at 09:25
  • What's nice here is how the two work together. Want a specific window of a different application? Press alt and keep it down, tab until that application is highlighted, then press [key above tab] until it gets the right window, then release alt and you're there – user56reinstatemonica8 Jul 08 '20 at 10:06
1

Ctrl+PageUp and Ctrl+PageDown switches between panes or windows in Ubuntu applications, such as Nautilus.

Ctrl+TAB will also sometimes switch between windows (or tabs), for example in Google Chrome.

AEM
  • 1,166
elomage
  • 1,400
1

Opt + Tab will switch between windows of different applications running. CTRL + Tab will switch between windows within the same application.

At least this is how it is running Ubuntu on my Macbook.

0

Another way is to hover over the icon of the program in the sidenav/side bar of ubuntu and scroll using the scroll wheel of the mouse, this way will make you go through all the open instances of the program, it would be ideal if you have only two, helpful if you have more than two. I use it with vscode usually because I always have more than one open.

  • when someone is asking about a keyboard shortcut, it's because they don't want to move their hands off of the keyboard, not because they don't know of another way to achieve what they want to do. at least that's why I would ask about a keyboard shortcut (and why my googling led me to this page) – Phil Dec 04 '18 at 00:33
0

This differs in various keyboard layouts, but usually it is the key right above the TAB key.

In the german and spanish layout it is ALT+°

This is quite handy, this way you can easily access both switches.

AEM
  • 1,166
rubo77
  • 32,486