Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 11-06-2009, 07:25 PM   #1
siemsen
Prospect
 
Join Date: Jun 2006
Posts: 2
Unhappy Terminal settings files multiplying like crazy

Under Leopard, to conveniently open Terminal windows onto remote systems, I've created several settings files in Terminal. I can open one by right-clicking on the Terminal icon in the Dock, expand the "New Window" menu item, and select the remote system I want to connect to. This has worked very well for years.

So today I tried to improve the process. I want to be able to open the windows more conveniently. I created a shell script for each remote system. Each script contains a single line like

open /Library/Application Support/Terminal/system-abc.terminal

I created the .terminal files using Terminal->Shell->Export Settings...
When I execute the shell script, a new Terminal window pops up as expected.

The weird thing is, whenever I execute the shell script, I discover a new menu item in Terminal's list of remote systems. In other words, after executing the above script once, if I go back and try right-clicking on the Terminal icon in the dock, and I expand "New Window", I find a brand-new thing in the list. The new thing is called "system-abc 1". If I run the script again, I find another new thing named "system-abc 2"

What's going on?

If you wonder why I'm trying to do things this way, it's so I can open windows onto remote systems via Quicksilver. I connect to many remote systems in a typical work day. Using the shell scripts allows me to do it from the keyboard, without having to move the mouse to the Dock and position and click it on the right entry.

Using the shell scripts does exactly what I want, but it has the annoying side effect of cluttering Terminal's list of remote systems with copies.
siemsen is offline   Reply With Quote
Reply

Tags
terminal

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.