7 Replies Latest reply: Jun 8, 2007 12:01 PM by Koinseb
theosib Level 1 (10 points)
I have an application (Hardware Growler) that appears in the dock, but it's a background app, so I'd like it to not appear in the dock.

In the user account preferences, there's a "hide" checkbox for programs that are launched on startup. No help (but maybe I have to reboot, which Mac users aren't supposed to have to do).

I've tried dragging it off the dock. It always moves back to the dock.

I've tried setting NSUIElement to "1". No help.

I've tried right-clicking on the item in the dock and selecting "Hide". No help.


Mac OS X (10.4.8)
  • Allan Sampson Level 10 (123,405 points)
    The "Hide" checkbox for selected programs to automatically launch at Startup is intended to launch but hide or minimize the program but this does not mean the program that is automatically launched but hidden or minimized is also hidden from the Dock - AFAIK.

    No different from manually launching an application and then minimizing the application. All launched/running applications are available in the Dock regardless if minimized.
  • theosib Level 1 (10 points)
    The thing is, there are plenty of things that are running that are hidden from the dock. I would be amazed if there weren't a way to have an app running entirely in the background. All this does is generate growl messages for hardware events. I don't want to occupy a slot in the dock for that.
  • Allan Sampson Level 10 (123,405 points)
    Plenty of things running that are hidden from the Dock as in applications?
  • theosib Level 1 (10 points)
    Well, I was thinking about Growl itself, but it's a prefpane. Really, HardwareGrowler should be a prefpane.
  • biovizier Level 5 (7,925 points)
    ..."I've tried setting NSUIElement to "1"."...

    Edits to a programme's "Info.plist" don't always get recognized immediately (for stubborn ones, Tiger seems to be worse than Panther in this regard). If it is practical to do so with the app of interest, try duplicating the app and using the copy.

    By the way, these days, apps seem to be using 'LSUIElement', though the older form should work as well. Also, make sure that the "1" is a "string" value.
  • theosib Level 1 (10 points)
    I don't know why I didn't find it before, but here's the answer I was looking for.

  • Koinseb Level 4 (1,050 points)
    ...just as a little additional info, for those who are not comfortable with the terminal:

    There is a nifty little Freeware App called "Dockless" that does just that - switching on or off if an Application has an icon in the dock:

    Mini & MacBook Pro Mac OS X (10.4.9)

    Mini & MacBook Pro   Mac OS X (10.4.9)