2

Working with Mac OS X 10.9.5 (Mavericks).

I have an application that is launched with my session and displays its menu from the status bar.

Also, I would like to know if there is a way to prevent this application from also showing on the Dock since I have the possibility to access its menu from the status bar.

If I remove the icon from the Dock, then the application quits.

I've been searching on the web for a solution, I found that modifying the info.plist of the content of the app adding :

<true/>
<key>LSUIElement</key>
<true/>

could solve the issue, but in vain, after that modification, the app keeps "jumping" but doesn't launch. So I recover the code as it was before.

1

2 Answers 2

1

Modifying the Info.plist has made sandboxed applications crash on launch since 10.8.

You can for example run

lsappinfo setinfo -app TextEdit ApplicationType=UIElement

after opening TextEdit to hide TextEdit from the Dock temporarily, but I don't know how to make the change permanent.

1
  • It doesn't work in macOS mojave (10.14.4), someone could confirm this?
    – Itachi
    Apr 26, 2019 at 3:30
0

Maybe a long shot ...

Is that app one that is shown in System Preferences > Users & Groups > Login Items

If you check the box there to hide the app, does it still show in the Dock?

2
  • sorry for long response delay. Unfortunately yes it still shows in the Dock even if it's hidden in System Preferences > Users & Groups > Login Items.
    – Sivounette
    Feb 26, 2015 at 18:08
  • If you check the hide box for an application in system preferences, it will launch without any windows appearing, but will still show up in the dock. Dec 27, 2019 at 2:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .