Ubuntu – How to make “CTRL + ALT + T” open new Terminal window when one is already open

gnomegnome-terminalshortcut-keys

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)?

Best Answer

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.
Related Question