Is there a hotkey to switch between tabs in Ubuntu's native terminal app? I'm using the netbook version of ubuntu.
-
9Too bad the hotkey isn't ctrl+tab. I wonder if it can be changed. – Benjamin Crouzier Feb 25 '13 at 08:52
-
yes you can change it @pinouchon, see my answer below (unfortunately ctrl+tab wont work) – JorgeArtware Jun 07 '14 at 10:33
-
Does this answer your question? How to efficiently switch between several terminal windows using the keyboard? – nima Feb 05 '20 at 08:30
7 Answers
You can also use Ctrl+PgUp/PgDn to go to previous/next tab.

- 117,780

- 7,217
-
-
1
-
3@Vlad on my macbook it appears to be CMD+SHIFT+LEFT_ARROW/RIGHT_ARROW, maybe that works for you as well. – isaias-b Jan 03 '16 at 00:29
-
Doesn't seem to work with numpad PgUp / PgDn keys I typically use on my laptop, but the dedicated PgUp / PgDn keys do work. I was able to edit the shortcuts to use the numpad easily, as described below :) – jocull May 24 '16 at 14:41
-
You mean gnome-terminal
?
To switch between tabs you can use Alt-n, where n is the tab ordinal number.
- Alt+Maj+n if using an azerty keyboard, caps-locked or not...
By the way, this works the same in Gedit.

- 117,780

- 93,831
I'm guessing you mean the default distributed (pre-installed) gnome-terminal.
You can set your own shortcuts easily, just go to menu Edit>Keyboard Shortcuts...
Bonus tip: If you wanna take a look to the real "native terminal" or tty (teletype interfase) just hit Ctrl+Alt+F1 (It works with almost any Function key), and don't panic, you can come back to the "graphical interfase" by hitting Ctrl+Alt+F7

- 3,527
- 1
- 21
- 23
Simple and standard for all:
for switching/moving tabs:
Ctrl + pg up
or
Ctrl + pg dn
for positioning tabs (not switching):
if you want to position tabs, but not switch/move. is useful when too many tabs are open in web browser and or terminal and you want to group/lineup tabs. you can do this.
CtrlShift + pg up
or
CtrlShift + pg dn
Pro Tip:
try this in your browser tabs. and see what happens.

- 310
-
1This has started inserting
;5~
for me lately instead of switching tabs. Any idea what would cause that? – hughes Oct 04 '16 at 07:30 -
it does happens when a process you or some other application started did not left the terminal and while you press other keys it prints some odd characters. – Kaleem Ullah Oct 04 '16 at 07:40
-
This works in some Editor too, e.g
Geany
. The switch also works inIDEA
, though positioning doesn't. – Eric Mar 05 '21 at 22:48
For anyone using Konsole, that comes with Kubuntu (or KDE), the shortcut is -
Shift+←, Shift+→
Alt + Shift + n, where n is the tab number starting from 1, works for me on Ubuntu 18.04 with Gnome Desktop Environment.

- 6,880
For the MacBook Pro (I suppose it's the same with other macs) running Ubuntu on VMWare there are two options:
- With the large Apple Magic Keyboard with Numeric Keypad, use the arrows below F15 (don't know their official names, but I now believe they're the Page Up/Down keys already mentioned) with CTRL, but not the regular cursor/arrow keys at the bottom of the keyboard:
control+↑ or control+↓
- With the built-in laptop keyboard or with the external keyboard use the function key, plus control, plus the regular up/down keys:
fn+control+↑ or fn+control+↓
In other words, option 2 should work in all cases, but if you have the large keyboard there's an additional convenient shortcut.
By the way, both options also allow switching between Google Chrome and Opera tabs. Haven't tested with Firefox yet.

- 674