Opening a new Terminal window when it's running on another desktop

I open a lot of terminal windows. I also make use good use of tabs & multiple desktops.

Normally I launch Terminal.app with Spotlight. But if Terminal is already running on another desktop, it changes to that desktop and opens it there. I hate that. I want it to open on the current desktop.

So for now, I've been doing this:

Annoying!

Is there a better way?


Solution 1:

By Golly, I think I've found it this time.

Fire up Utilities/AppleScript Editor. Copy/paste the lines below. Save it and add it to your Dock. Whenever you click it you'll get a new window on your current desktop. You need to have "Enable support for assistive devices" activated in System Preferences - Universal Access.

tell application "Terminal" to activate
tell application "System Events"
    tell process "Terminal"
        click menu item "New Window" of menu "Shell" of menu bar 1
    end tell
end tell

Source: adapted from this hint regarding Safari.

Solution 2:

I looked far and wide and found no better way myself. I usually have less than 5 Terminal windows open, and I usually don't want to switch desktops for Terminal, so in System Preferences - Expose - Spaces I assigned Terminal to be in Every Space so as to follow me around. You might hate that though.