keyboard shortcut gnome-terminal (ctrl-tab) and (ctrl-shift-tab) in 12.04?
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?
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
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.
This works for me in Ubuntu Gnome 16.04. Reference: https://bugzilla.gnome.org/show_bug.cgi?id=738325
Unfortunately assigning shortcuts with TAB key is a no go in Gnome (for whatever reason). So this will not work.
- Reference: https://bugzilla.gnome.org/show_bug.cgi?id=123994 and https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/162000
- Current discussion about the issue: https://mail.gnome.org/archives/desktop-devel-list/2009-November/msg00220.html
There is a way to do this in a hacky way, from the answer below type this in the 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'
Use Ctrl+PageUP and Ctrl+PageDown (annoying, but it is what we have).
This may be a little heretic to do in gnome but you can install Konsole and have those shortcuts like so:
sudo apt install konsole
The shortcut Ctrl+Tab is set by default.
Note: Konsole is the KDE default terminal