How to make "CTRL + ALT + T" open new Terminal window when one is already open?

I am running Ubuntu GNOME 15.10 with GNOME 3.18 and would like to know if there is some way to get CTRL + ALT + T to open a new Terminal window even if one is already open (that is rather than just bring the currently open one to the front)?

3

2 Answers

The funny thing is that on Unity, CTRL + ALT + T does open a new window, apparantly not on Gnome...

To make the setup:

  1. First disable the existing command/key combination with the command:

    gsettings set org.gnome.settings-daemon.plugins.media-keys terminal ""

    Which will make CTRL + ALT + T "available" again for another command.

  2. Now open keyboard settings: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

    gnome-terminal --window-with-profile=<profilename>

    to CTRL + ALT + T, where <profilename> is the name of your profile, most likely Default

From man gnome-terminal:

 --window-with-profile=PROFILENAME Open a new window containing a tab with the given profile. More than one of these options can be provided.
4

It's pretty easy to make Ctrl+Alt+T alive in gnome:

  1. Search for Keyboard shortcuts in Gnome home menu

  2. Add a custom shortcut in Keyboard

  3. Add (+)

    • Name: gnome-terminal
    • Command: gnome-terminal
    • Ctrl+Alt+T

Adding custom commands

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like