Opening Ubuntu Terminal with Shortcut

Solution 1:

This is certainly possible.

  • First disable the default shortcut for opening a terminal ("Launch terminal" under "Launchers" in the "Keyboard" settings"
  • Then create your custom shortcut key to open a terminal. Click the "+" at the bottom of the list of "Custom Shortcuts", then fill out "Terminal" as name (or anything else), and sh -c "wmctrl -x -a Gnome-terminal || gnome-terminal" as command. Set the shortcut to Ctrl+Alt+T or any shortcut of your choice.

This uses the utility wmctrl to first check whether a window of Gnome terminal exists, and switch to it if it does. If such window does not exist, it launches the terminal. You therefore need to install wmctrl first.

Solution on steroids

Use jumpapp. This is a script that uses wmctrl. You can switch between all open windows by repeatedly pressing the shortcut key.