is there any way to switch between tabs using Ctrl-Tab shortcut?
3 Answers
The Preferences -> Shortcuts menu will allow you to set most combinations, but will not accept Tab as an accelerator, allegedly because it's reserved by GTK.
However, as posted here there is an easy copy/pastable workaround that will make Ctrl-Tab move right and Ctrl-Shift-Tab move left. Run this in a terminal:
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ next-tab '<Primary>Tab'
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ prev-tab '<Primary><Shift>Tab'
Verified working just now in Gnome terminal version 3.32.2-2 on Fedora 30.
Update November 2021: Still working, now in Fedora 34
- 459
- 5
- 8
-
1Thank you. It works immediately under Ubuntu 20.04, gnome-terminal 3.36.2. But it kills Ctrl+PgUp, I wanted to keep both :-/ – lolesque Mar 28 '22 at 14:24
I think this is not possible in gnome-terminal due to GTK, see bugzilla.gnome.org.
However, it is possible with terminator which is very similar (sudo apt-get install terminator). Once installed I had to manually edit .config/terminator/config to get it working:
[keybindings]
cycle_prev = <Ctrl>Page_Up
next_tab = <Ctrl>Tab
prev_tab = <Ctrl><Shift>Tab
cycle_next = <Ctrl>Page_Down
- 311
- 2
- 3
It should be in your settings under Edit->keyboard shortcuts
The default is ctrl+pg down/up
- 4,186
- 6
- 34
- 46
-
6
-
1make sure you are not already using that combination in either your global system shortcuts or if you are using compiz, it will overwrite it, so i would try to do it there, or just use a diff key-combo like ctrl+arrow right/left(my preference) – madmaze Nov 30 '10 at 17:33
-
May there is no way to use it with Ctrl-Tab [@launchpad](http://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/162000) – Morris Jobke Nov 30 '10 at 17:43
-
I've wired next tab and prev tab to Ctl+J and Ctl+K and it's working out fine. Thanks for this tip. – Khaja Minhajuddin Oct 17 '12 at 17:11