Ubuntu – How to bring up last terminal window with a shortcut key

gnome-terminalshortcut-keys

I use terminal so often for making quick commands and then I leave it in the background so that I end up getting 20+ terminal sessions open while I'm working. This is because it's very quick to simply use the shortcut key and type a command.

Is there a way to set up the shortcut key so I bring my up last terminal window instead of creating a new one?

Best Answer

I have a terminal pinned to my Unity launcher sidebar on position 10. This way I can press Super+0 to "click" the launcher icon which brings the latest terminal window to the top.

enter image description here

If having it in the launcher is ok for you (one of the first 10 positions, otherwise it won't get a shortcut!), this will work.

Related Question