Results 1 to 4 of 4
  1. #1
    thomanil
    Guest
    Problem with terminal, always runs Fink task at startup
    Hello all,

    got my lovely iBook two days ago, and Iīve messed around with it quite a bit this weekend. Iīm new to the mac os, but I have to say itīs very pleasant to work in. Lovely when the os just gets out of your way!
    One irritating problem has me stumped, though.

    I installed Fink and Fink Commander almost right off the bat.
    At some point I tried installing the Ruby packages from Fink Commander, and I told it to perform the operation in a terminal. Something went wrong though (I hadnīt set up Fink correctly yet). Now, whenever I open a new terminal, it tries to run that task again. ( /sw/bin/fink build ruby )

    Quite irritating, especially since it prompts me for my admin password every time this happens. I suppose Fink Commander added something to the terminal or bash init files and didnīt clean it up after the first time it tried running the task. Didnīt find anything in .profile in my home dir, though.


    So my question is this: what files are read/executed by the Terminal when it starts up? And have any of you had a similar problem?

  2. #2

    Aptmunich's Avatar
    Member Since
    Mar 09, 2004
    Location
    Munich
    Posts
    9,073
    Specs:
    Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
    Not really very terminal proficient, but you might want to check some basics first:

    1.Does fink setup a start command in your user preferences? (System Preferences->Accounts->Login Items) If Fink is listed there, select it and hit the '-' icon to stop it from starting up at login.

    2. Does Fink have its own preference settings? Maybe there's a 'start fink at login' option there?

    Terminals plist file is called 'com.Apple.Terminal.plist' and is located in 'users->"username"->Library->Preferences'

    Maybe check to see if there is a fink entry there?

  3. #3
    thomanil
    Guest
    Quote Originally Posted by Aptmunich

    Terminals plist file is called 'com.Apple.Terminal.plist' and is located in 'users->"username"->Library->Preferences'

    Maybe check to see if there is a fink entry there?
    Thanks for the tip! Found the Terminal plist file, and yep, it had the fink task stuck in it. Removed the plist file and hey presto, Terminal back to normal, just had to reset my preferences for terminals.

    Follow-up question, though:

    When I first found this problem I tried searching for the above mentioned fink command string. Nothing turned up, however. How thorough is the spotlight search? It obviously doesnīt find things that would turn up using a simple recursive īgrepī.

    Oh and by the way, a bit strange that such things can be set for applications, and then not accessed in any way using the regular "preferences" options for the given application. The plist files arenīt very human readable.. or perhaps there is a way and I havenīt found it yet.

    Anyway, thanks for putting me on the right track. Cheers!

  4. #4

    Aptmunich's Avatar
    Member Since
    Mar 09, 2004
    Location
    Munich
    Posts
    9,073
    Specs:
    Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
    Well I think that since it is a hidden system file, spotlight doesn't ordinarily search through .plists as you'd get all these useless results when you searched for certain things... (useless for the average user anyway)

    Oh and by the way, a bit strange that such things can be set for applications, and then not accessed in any way using the regular "preferences" options for the given application. The plist files arenīt very human readable.. or perhaps there is a way and I havenīt found it yet.
    I'm guessing that since fink is something that probably only more experienced users would try, they figure that you'd just do everything yourself via Terminal anyway... since only *nix users would actually use Fink - and we all know how much those *nix experts love their command line

    Anyway, thanks for putting me on the right track. Cheers!
    Hey it was a shot in the dark, glad to be of service!
    Now go download a song from my band: http://www.ampliphonic.de/media/sound/


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 3 beeps on Startup, but runs perfect on Target Mode?
    By MDJCM in forum Apple Notebooks
    Replies: 18
    Last Post: 09-16-2013, 04:06 AM
  2. 13" Macbook runs slow on battery, Runs fast on power
    By askclifford in forum Apple Notebooks
    Replies: 9
    Last Post: 01-08-2012, 01:33 PM
  3. Using Terminal, how to disable Startup items folder
    By mrouffa in forum OS X - Operating System
    Replies: 3
    Last Post: 04-07-2011, 08:52 AM
  4. open a terminal with top on startup
    By HogsPogs in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-24-2009, 05:32 AM
  5. Creating an application to run a terminal command on startup?
    By Starky in forum OS X - Apps and Games
    Replies: 7
    Last Post: 11-27-2007, 12:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •