I'd like to have a keyboard shortcut to open a new terminal from wherever I am. A default shell in my default home directory would be great. I've been trying for a while to make this happen, but no luck so far. Things that I've tried:
1) syspref -> keyboard -> shortcuts -> services, select 'new terminal at folder'. Result: it just beeps and does nothing
2) syspref -> keyboard -> shortcuts -> app shortcuts -> create a new item that links to the 'Terminal' application. Result: beeps and does nothing
3) From automator, create a new service that accepts no input and launches 'Terminal', bind the new service from the keyboards shortcut menu. (followed these instructions). This kind of works, but only some times (see update)
What am I doing wrong ?
Solution 3 kind of works but it has two drawbacks:
- it only works if some window is focused, it will NOT work if you don't have any window or if no window is currently in focus. Furthermore even if a window is focused, it apparently has to be the right kind of window, e.g. for some reason it does not work if chrome is focused, but it will work if gvim is focused, WTF?.
- if a terminal window is already open it will just focus the existing terminal and bring it on top, I'd like to have a new, fresh terminal window appear (ok I guess I can just do ctrl-command-t to bring it in focus and then control-n for new window, but it kind of sucks)