18

is there any way to switch between tabs using Ctrl-Tab shortcut?

3 Answers3

23

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

7

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
-2

It should be in your settings under Edit->keyboard shortcuts

The default is ctrl+pg down/up

madmaze
  • 4,444