Skip navigation.
 
mlRe: prefPane with background process
FROM : Jens Alfke
DATE : Wed Apr 02 19:43:59 2008

On 2 Apr '08, at 8:36 AM, Trygve Inda wrote:

> To make sure the worker app does not show up in the dock add this to 
> its
> info.plist:
> <key>NSUIElement</key>
> <string>1</string>


It's actually LSUIElement.
Whether this key is appropriate depends on what the service does. If 
it has a user interface (uses AppKit) but just doesn't want to show up 
in the Dock or have a menu bar, then LSUIElement is the way to go. But 
for a real background process with no UI, it's better to use 
LSBackgroundOnly instead. The difference is that LSBackgroundOnly 
processes don't get a connection to the window server, which saves 
system resources.

—Jens

Related mailsAuthorDate
mlprefPane with background process Yogesh Potdar Apr 2, 14:20
mlRe: prefPane with background process Jens Alfke Apr 2, 16:59
mlRe: prefPane with background process Trygve Inda Apr 2, 17:36
mlRe: prefPane with background process Jens Alfke Apr 2, 19:43