13

Keyboard shortcuts in gnome-terminal (Ctrl+Tab and Ctrl+Shift+Tab) in 12.04 don't seem to be working. Is there a setting that I dont know of?

6

Unfortunately assigning shortcuts with TAB key is a no go in Gnome (for whatever reason). So this will not work.

  • 1
    it is really uncomfortable to not have ctrl-tab. Thanks for that though, ive already learned to live without it. I should use ctrl-~ and ctrl-shift-~ now. – PnotNP May 9 '12 at 21:09
  • I tend to learn the native shortcuts and use those. So for gnome-terminal it's ctrl-shift-right & ctrl-shift-left – Paweł Gościcki May 9 '12 at 21:20
  • Another follow up mail.gnome.org/archives/desktop-devel-list/2009-November/… – Braiam Aug 28 '13 at 3:17
  • 1
    That bug report says it's RESOLVED FIXED, yet the problem seems to exist. Was it just reported fixed without doing anything? – Rahat Ahmed Dec 11 '13 at 0:25
  • I have my caps-lock mapped to escape through the OS and then I use Ctrl+Esc for next tab, so on the keyboard I am actually pressing Ctrl+Caps Lock for next tab. – still_dreaming_1 Aug 4 '15 at 18:06
26

A way to configure this is by setting gsettings from the terminal itself (two commands):

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'

Source: the last comment in the bug report

  • Exactly what I was looking for. Simple, effective, trivial to implement. This answer needs more upvotes. – Nickolai Mar 1 '18 at 3:19
  • Fantastic, thanks. The option no longer appears in dconf editor (in 18.04) as I answered above, but this works. – apostl3pol Sep 11 '18 at 4:29
15

Use dconf Editor. If it's not installed by default you can get it with sudo apt-get install dconf-tools. The shortcut can be modified at Org > Gnome > Terminal > Legacy > Keybindings.

Screenshot of dconf Editor

This works for me in Ubuntu Gnome 16.04. Reference: https://bugzilla.gnome.org/show_bug.cgi?id=738325

  • This should be the accepted answer. – Parth Thakkar Dec 29 '16 at 10:33
  • 7
    You can do this without installing anything using dconf write /org/gnome/terminal/legacy/keybindings/next-tab "'<Primary>Tab'" and dconf write /org/gnome/terminal/legacy/keybindings/prev-tab "'<Primary><Shift>Tab'" – John P Bloch Jan 20 '17 at 23:15
3

Use Ctrl+PageUP and Ctrl+PageDown (annoying, but it is what we have).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.