This article originally appeared in TidBITS on 2008-03-16 at 10:29 a.m.
The permanent URL for this article is: http://db.tidbits.com/article/9504
Include images: Off

Unwanted App Launch Problem Solved, No Thanks to Apple

by Matt Neuburg

Recently, I discovered that a file of whose existence I previously had no clue was responsible for a mysterious phenomenon on my computer. The phenomenon was simple enough: an application I don't use and don't want to use (RetroRunSL, a part of Retrospect [1]) was launching every time I logged in to my Mac. What I couldn't figure out was why.

The problem was particularly annoying because I thought I knew quite a bit about how things get launched under Mac OS X. I've read the Apple Tech Note [2] and article [3] on the topic, and back when I was secretly helping out with MacFixIt [4], I even wrote an article on this very subject. Yet I had checked all the places I knew about - my Accounts preference pane's Login Items, the LaunchAgents and LaunchDaemons folders in my Library and the top-level Library, and even the deprecated StartupItems folder in the top-level Library - but nothing in any of them afforded any explanation.

Finally, with some help from good old EasyFind [5] (trust Spotlight [6] to be useless here), I discovered the answer. There can be a file in your top-level Library's Preferences folder called com.apple.SystemLoginItems.plist. This mechanism is used by a very few specialized applications that launch on a per-user basis and want access to the Window Server, but need to launch before the user actually logs in. (Timbuktu [7] is an example of such an application.) It is deprecated in Leopard, where you're supposed to use a LaunchAgent instead; but some older programs still use it.

What really ticks me off about this whole affair is that it's so typical. Mac OS X has been around for 7 years now, and yet we're still living in this world of secret files that do secret things, with no user interface and no documentation. The former (lack of user interface) is something we've mostly become numbed to, though, like Joe Kissell (see "SmartSleep Solves Safe Sleep Situation [8]", 2008-03-15), where there are important settings that can be managed, I really don't see why Apple doesn't give the user a way to manage them. But the lack of documentation is unforgivable.

[1]: http://www.emcinsignia.com/products/smb/retroformac/
[2]: http://developer.apple.com/technotes/tn2005/tn2083.html
[3]: http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/BPSystemStartup.html
[4]: http://www.macfixit.com
[5]: http://db.tidbits.com/article/9231
[6]: http://db.tidbits.com/article/9283
[7]: http://www.netopia.com/software/products/tb2/mac/
[8]: http://db.tidbits.com/article/9502