Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I find it really annoying how the Adium icon is always at the dock being useless:

enter image description here

because to open the contact list, you can just use the status bar item, (the dock icon is just a waste of space according to me):

enter image description here

So is there any way to remove the dock icon of Adium (or preferably any app) and only keep the status bar item (fully functional)?

This may seem like a duplicate of Hide an application's dock icon but that answer hides the status bar item as well, after that nobody answered. Have any new techniques surfaced since 2011?

I would rather have a technique without another app, but if thats the only option then that'll have to do...

share|improve this question
    
I see you're going for the minimalist dock approach, you know you can disable mirror reflection of the dock with defaults write com.apple.dock hide-mirror -bool true;killall Dock –  XAleXOwnZX May 14 at 22:53

2 Answers 2

Yes there is a way : Simply go go the App, right click and show package contents. Go into Application/Contents and open the info.plist with a simple text editor. Add these Lines under the dict key :

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

Yes, there is a difference. NSUIElement is an old key. Since Apple introduced Launchd services, they use the LSUIElement key. This is also working for Adium, I just tested it.

If It says it can't save the file, simply copy it out of the folder to you desktop, edit it, and move it back into the App.

Keep in Mind, that with the LSUI element, the App is working in the Background. It keeps the menu icon, but your app won't appear in the App-Switcher (CMD+Tab) nor in the Force-Quit Menu.

Here is a Screenshot on how I did it : Screenshot Text Wrangler Edit

share|improve this answer
    
Yes, another person told me this as well, but for some reason, there are not any dict tags in my Adium... I use the Edit>find as well –  ṧнʊß May 15 at 6:19
    
I added a Screenshot. Maybe that helps ;) –  YoshiBotX May 15 at 9:15
    
@shub wth... there are TWO sets of dict tags in your Adium Info.plist after we converted to xml with plutil. Why are you saying there are no dict tags? I saw your plist! On the 5th line is a dict tag! >< –  chillin May 15 at 10:23
    
@chillin Yes, and after I converted to xml with your instructions, and adding the same thing did not do anything. You then asked me to remove the dict tags - but I didn't add any dict tags, and after that, you haven't asked me to do anything - what should I do? –  ṧнʊß May 15 at 16:09
    
@YoshiBotX as chilin said, after converting it to xml from binary, adding these 2 lines does not work... –  ṧнʊß May 15 at 16:10
up vote 0 down vote accepted

I've found a way that works for me.

Originally, the user chillin told me I could just add this to the Info.plist file in between the dict tags using TextEdit:

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

But all I saw was some gibberish (look below for screenshots).

But then I installed XCode and opened the Info.plist file in Property List Editor.

To open Info.plist, go to your HD (eg. Macintosh HD) and open the Applications folder - Macintosh HD > Applications > Right Click Adium > Open Package Contents > Contents > Right Click Info.plist and open with Property List Editor. This will open this:

enter image description here

Then, click Add Item at the top and name the key as LSUIElement and the value checkbox should be checked (ie. 1 or True).

LSUIElement:

Specifies whether the app is an agent app, that is, an app that should not appear in the Dock or Force Quit window.

Source

Note: When you click the value field, the key is automatically renamed to Application is agent (UIElement)

It should then look like this:

enter image description here

Then you can open up Adium and it will still be in the Menu Bar but no longer in the Dock!


This is the Info.plist file I saw after using Property List Editor (I've highlighted one of the parts that changed):

enter image description here


As I said before, the method that the user chillin said worked for a few people but this worked for me. This is what I saw when chillin answered this question:

enter image description here

... where as I should have seen something like this (image via hotdigitalnews):

enter image description here


share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.