Cannot use Ctrl-Tab as keyboard shortcut in gnome-terminal

Bug #162000 reported by Mikael Ståldal on 2007-11-11
This bug affects 29 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
gnome-terminal (Ubuntu)

Bug Description

Binary package hint: gnome-terminal

It is not possible to use Ctrl-Tab as keyboard shortcut in gnome-terminal.

I would like to use it to switch tabs.

Stoanhart (stoanhart) wrote :

I agree. It seems that the tab key can not be used, regardless of what the combo is. I would like consitent tab management between firefox and gnome-terminal.

Pedro Villavicencio (pedro) wrote :

Thanks for your report, that's known upstream:

comment from upstream:

"There are a couple of keys which are not candidates to be keyboard
accelerators, independently of the modifiers. Tab is one of those
keys, as it (with various combinations of modifiers) are reserved by
gtk for its own use and the window manager.

Note that validity is decided by calling gtk_accelerator_valid, but
the list of valid accelerator keys seems to be only in the source
(which you can find at, in case
you feel like it)

Changed in gnome-terminal:
status: New → Invalid
Mikael Ståldal (mikaelstaldal) wrote :

I posted this comment upstream:

"I think that is a serious limitiation to not be able to use Ctrl-Tab as a
keyboard shortcut in Gnome applications.

Elsewhere, it is a convention to use Ctrl-Tab to switch between tabs/subwindows
within an application. You use this in e.g. Mozilla Firefox, and I successfully
configured Eclipse for this behaviour.

Since you use Alt-Tab to switch between applications, it's quite convenient to
be able to use Ctrl-Tab to swtich tab/subwindow within an application."

Keith Hughitt (keith-hughitt) wrote :

I also think it would be great to be able to configure gnome-terminal to use (shift) Control + Tab.

LeviRosol (levi-rosol) wrote :

Agreed that this is a useful, and more and more commonly used keyboard shortcut.

Kyle Lin (luckysolar) wrote :

Agreed. I think it is important to me for using Ctrl +Tab to swith tabs when I write code by vim. Expect we can configure gnome-terminal to use this feature.

Paolo Milani (j-s-sebastian) wrote :

Agreed. I think most users learned about tabs from the firefox browser, so other applications should follow the conventions set by firefox: (shift) ctrl+tab to switch, ctrl-N for a new tab, ctrl-f4 to close a tab

Changed in gnome-terminal (Ubuntu):
status: Invalid → Confirmed
Felipe Amado (amadinho10) wrote :

I agree. And I think all applications should use the same keyboard shortcuts for tabs management (Ctrl + T, Ctrl + W, Ctrl + Tab).

rusik3 (rusik3) wrote :

It is a really not usefull without ctr + tab and ctr+shift_tab

duncan mcnae (duncanmcnae) wrote :

Very much needed to get unity between different programs and their tab behaviour. It is this way in nautilus....

Loren Dias (lorendias) wrote :

I configure all my keyboard bindings to use Firefox style hotkeys,

Most of us grew up on Firefox first and Linux second, so it makes sense to cater to our existing workflow.

This problem is still fundamental, I'm trying to figure out if its possible to make the necessary edits here, or if the system prohibits it:

Jon (dotnetcarpenter) wrote :

Right, then it is past time to switch terminal.

Simon Law (sfllaw) wrote :

As a hack, you can still specify "<Primary>Tab" and "<Primary><Shift>Tab" as keybindings, directly using dconf-editor or gsettings.

For instance, gnome-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'

Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → Confirmed
João Loureiro (joaofl) wrote :

This issue was reported back in 2007. Still no plans to get that fixed?

It is certainly not critical, but definitely makes usage more intuitive and user happier.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.