• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to use the loginItem in OSX 10.3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use the loginItem in OSX 10.3?


  • Subject: Re: how to use the loginItem in OSX 10.3?
  • From: Chris Idou <email@hidden>
  • Date: Thu, 16 Oct 2008 02:40:31 -0700 (PDT)

Why don't you make it a regular Cocoa app that doesn't open any windows and doesn't have a dock icon?


--- On Thu, 10/16/08, XiaoGang Li <email@hidden> wrote:

> From: XiaoGang Li <email@hidden>
> Subject: how to use the loginItem in OSX 10.3?
> To: email@hidden
> Date: Thursday, October 16, 2008, 2:27 AM
> hi, list,
>      I have a task that a cmd-line utility should be
> launched when user
> login window on OSX 10.3.9. this cmd-line utility bind to a
> socket port and
> listen message from low-level server. I means that the
> cmd-utility will not
> quit until the user logout. acutally, I know I should use
> launchd method to
> implement this feature in 10.4 or later . but in OSX
> 10.3.9, I have
> encountered some problems.
>      At first, I planned to use login Items, add item in
> the
> loginwindow.plist in the user's directory. I can add
> the cmd-line utility to
> the login item list of current user when the user login
> window. but one
> terminal (console) popup every time. this is a big problem,
> so
> unsatisfied for me, I need it to run as a daemon.
>     Second, i use the unrecommended way : add a plist file
> to the path:
> /etc/mach_init_per_user.d directory. but it seems not work.
> what should i do
> anything else?
>      I am sorry that if i put this mail in a wrong list.
> Any comments will
> be appreciated. Thanks.
>
> Andrew
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to
> the list.
> Contact the moderators at
> cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to use the loginItem in OSX 10.3? (From: "XiaoGang Li" <email@hidden>)

  • Prev by Date: how to use the loginItem in OSX 10.3?
  • Next by Date: Re: NSComboBox select change
  • Previous by thread: how to use the loginItem in OSX 10.3?
  • Next by thread: Re: how to use the loginItem in OSX 10.3?
  • Index(es):
    • Date
    • Thread