Re: LaunchOnce



Michelle Steiner <michelle@xxxxxxxxxxxx> wrote:

I have a file named "LaunchOnce" in my startup items

Just to clarify: do you really mean a process which was launched at
system startup, or is it a Login Item in System Preferences > Accounts?

The distinction is that Login Items are launched after the user logs in,
whereas Startup Items are launched while the system is starting up
(before the login prompt). Startup Items also run as root (or some other
special user) whereas Login Items run as a normal user.

but I have no recollection of what it is supposed to do or when I
put it there.

I can't find it on my disk, and ~/library/startupitems folder is empty
(which makes me wonder where all the startup items live).

I wouldn't expect there to be a user-specific "StartupItems" folder -
there is no opportunity to run startup items for a user, since the
system has already started up by the time the user gets to log in.

Actual startup items live in /System/Library/StartupItems or
/Library/StartupItems. They typically contain a shell script (with the
same name as the startup item) and a StartupParameters.plist file.

This mechanism is deprecated under Leopard and is no longer being used
by Apple, but there are still some third party startup items.

In Tiger and Leopard, launchd is used to launch various processes during
system startup.

The /System/Library/LaunchDaemons and /Library/LaunchDaemons folders
contain plist files which define items that can be launched at system
startup, including rules about whether to launch them.

The /System/Library/LaunchAgents, /Library/LaunchAgents and
~/Library/LaunchAgents folders contain plist files which define items
that can be launched when a user logs in, including rules about whether
to launch them.

You can easily examine or modify these using the free application Lingon
(recently updated for Leopard, or you can use an older version for
Tiger).

If you really meant Login Items, then you can see the path in System
Preferences by leaving the mouse pointing to the item, which will show a
tooltip containing the pathname.

There are other ways in which processes can be launched at startup or
login, and I haven't tracked down all of them yet.
--
David Empson
dempson@xxxxxxxxxxxxx
.



Relevant Pages

  • Re: Entourage always logs on first when starting the computer
    ... MenuCalendarClock can launch Entourage every time it checks for events ... You can do a quick test to eliminate any startup items. ... Does Entourage launch now? ...
    (microsoft.public.mac.office.entourage)
  • Re: Reinstall everytime assigned applications through GPO on startup
    ... However I got troubles with some clients. ... The software deployment is launch every time on startup (before login). ...
    (microsoft.public.windows.group_policy)
  • Re: Q re missing rc.local file
    ... > to first do a text login followed by a startx. ... another thing you want run at startup. ... startup to your Debian system. ... If you want to create individual scripts one ...
    (Debian-User)
  • Re: Cannot browse local or remote sites with any browser, FTP and email works fine
    ... I also used (in safe mode) several online port checkers and virus ... I have a Dlink wireless with the configuration you describe. ... You are loading something on Windows startup (which actually appears specific to the startup items for one account you login that has the ills) that is causing the problem. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Installing Two Operating Systems 4 Speed
    ... Log on under your own account. ... Launch msconfig.exe via the Start/Run menu. ... Click the Startup tab in MSConfig. ... While installing two versions of Windows might speed up your wife's ...
    (microsoft.public.windowsxp.general)