#19 Locomotive messes up Terminal.app startup

open
nobody
None
5
2007-02-26
2007-02-26
Anonymous
No

I just installed the latest version of Locomotive (2.0.8) with the Standard Rails Jan 2007 bundle, and it seems to have permanently modified the startup behavior of Terminal.app. Whenever I start Teminal.app from the dock now, it executes this command:

source /private/var/tmp/folders.501/TemporaryItems/A3F96E6E-C542-11DB-92E7-0011247A58B6-581-000001D799F0C452.environment.bash

Also, when I choose "Open Terminal" on an application in the Locomotive control window, it executes this command twice. Where is this command stored, and why is it I looked in all the usual places ( /etc/profile, /etc/bashrc, ~/.bashrc, ~/.profile ), and I can't figure out what is causing the command to be run automatically.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I finally recursively grepped for the command in my home directory, and I found that ~/Library/Preferences/com.apple.Terminal.plist was modified to automatically execute the Locomotive environment file. This seems like a strange way to execute this command (not to mention a difficult modification to turn off).

     
  • Bob Firth

    Bob Firth - 2007-03-06

    Logged In: YES
    user_id=1100197
    Originator: NO

    I think this is the issue which is addressed by the Terminal.app fix tool (look in Locomotive's Tools menu).

     
  • Nobody/Anonymous

    Logged In: NO

    I have precisely the same problem. I really wouldn't mind fixing it manually but have no idea where it's being set. Further to the above bug report, it only appeared to set this configuration once. The first project I opened in Terminal from Locomotive has been set. Opening other projects doesn't change the setting, but I am still able to open other projects correctly from within Locomotive.

     
  • Bob Firth

    Bob Firth - 2007-03-15

    Logged In: YES
    user_id=1100197
    Originator: NO

    There is a fix for this in Locomotive, if you go into the Tools menu and select "Terminal.app Startup Fix Tool" you will see the following information:

    This is a bug/feature of Terminal.app. The solution is to change one of Terminal.app's preferences. You can do this manually by typing

    defaults write com.apple.Terminal ExecutionString ""

    in any Terminal. Or, you can hit "Fix it!" below and this same command will be run for you by Locomotive.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks