Friday, February 26, 2010

How to hide the MAMP icon from your dock

If you want to hide the MAMP or MAMP PRO icon from your dock after you opened the application you can follow this little tutorial.

Note:
  • You'll need the Poperty List Editor which is part of the Mac OS X SDK and can be found in the directory "/Developer/applications Utilities/".
  • You will loose all modifications after an update of MAMP or MAMP PRO.
  • You want reach MAMP and MAMP PRO with Command + Tab any longer. Use Exposé instead.
MAMP:
  1. Quit MAMP if it's running.
  2. Open the directory "/Applications/MAMP".
  3. Right click on Mamp.app
  4. Choose "Show Package Contents".
  5. A new window will pop up: "Contents"
  6. Double click on Contents.
  7. Open info.plist with the Property Editor
  8. Add a new entry to the list - therefore choose either "Edit -> Add Item" or click on the "Add Item" icon
  9. Enter "LSUIElement" (without quotes) into the "Key" column and hit Enter. Your entry will be changed into "Application is agent (UIElement)" automatically.
  10. In the column "value" activate the checkbox.

  11. Save and close the file.
  12. Close "Property List Editor".
MAMP PRO:
  1. Quit MAMP if it's running.
  2. Open the directory "/Applications/MAMP PRO 1.8.4" (Version number may be different)
  3. Right click on Mamp.app
  4. Choose "Show Package Contents"
  5. A new window will pop up: "Contents"
  6. Double click on Contents.
  7. Open info.plist with the Property Editor
  8. Add a new entry to the list - therefore choose either "Edit -> Add Item" or click on the "Add Item" icon.
  9. Enter "LSUIElement" (without quotes) into the "Key" column and hit Enter. Your entry will be changed into "Application is agent (UIElement)" automatically.
  10. In the column "value" activate the checkbox.

  11. Save and close the file.
  12. Close "Property List Editor"
Now there is no MAMP or MAMP PRO icon in you dock anymore.

Share/Save/Bookmark

10 Kommentare:

  1. Hello
    Can we add MAMP to the Menu bar instead of the Dock?
    ReplyDelete
  2. this doesn't work and the new version of plistedit is vastly different
    ReplyDelete
  3. This works, but how am I supposed to quit MAMP Pro after that? The little 'x' button is not available and there isn't a menu bar anymore..
    ReplyDelete
  4. Please add a configurable option in the Preferences to hide the icon in the dock and display it in the menu bar instead. Thanks!
    ReplyDelete
  5. I second what Anonymous said!
    ReplyDelete
  6. I'm in the same boat, would like it in the menubar instead. Even the dock is ok, but don't want to see it in the list when I cmd-tab through apps.
    ReplyDelete
  7. I have a better idea: Uncheck "Stop servers after quitting MAMP" i preferences. Then quit MAMP :-)
    Then install the MAMP widget to control starting and stopping the servers.
    ReplyDelete
  8. Asking him to add an option to place the icon in the menu is definitely outside the scope of this article... To quit MAMP, just like any other OS X app, type command-Q. If you instant access to MAMP after hiding from the dock, i recommend you install an app launcher like Alfred App --> http://www.alfredapp.com/

    My question is: Will this trick work for other OS X apps?
    ReplyDelete
  9. FYI DesignWorks - yes. At least for Skype and Spotify.
    ReplyDelete
  10. @DesignWorks - your question "Will this trick work for other OS X apps?" is outside the scope of this article.
    ReplyDelete