Keyboard shortcut CTRL + ALT + T opens a new terminal window on Linux. By default it opens 1 new terminal window.

  1. Is there a way how to customize how many new tabs are going to be opened ? e.g. by using this shortcut it will open 2 tabs by default

  2. What is the right keyboard shortcut to open a new tab in existing terminal ?

    • I want to have 2 tabs opened and switch between them with CTRL + Page up

gnome-terminal is the default terminal application on Ubuntu. It does have a command line option that should help:

--tab    Open a new tab in the last-opened window with the default profile

so you could create a custom keyboard shortcut with the command

gnome-terminal --tab

If you wanted to open two tabs you could create a script file like:

gnome-terminal --tab
gnome-terminal --tab

Then call that script file from your keyboard shortcut.

  • 2
    That still opens a new terminal. It does not open a tab in an existing terminal as requested : "open a new tab in existing terminal". – RichieHH Mar 8 '17 at 9:57
  • It does not appear to work with Gnome Terminal version 3.20.2 which is what I currently have installed under Ubuntu. It has worked with earlier versions. – Stephen Ostermiller Mar 8 '17 at 10:00
  • It looks like it may have never worked and they removed the help that says it did: bugzilla.gnome.org/show_bug.cgi?id=83203 – Stephen Ostermiller Mar 8 '17 at 10:06

Run gnome-terminal command and add as many --tab options as you need. For instance, gnome-terminal --tab --tab --tab will get you a new window with three tabs. Assign the command to a keyboard shortcut to achieve what your goal.

To open a new tab interactively use Ctrl+Shift+T.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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