Skip to content

Instantly share code, notes, and snippets.

@machineloop
Created September 9, 2015 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save machineloop/a8820987b8d147712083 to your computer and use it in GitHub Desktop.
Save machineloop/a8820987b8d147712083 to your computer and use it in GitHub Desktop.
In order to get rid of the dock icon, you must modify the file named 'Info.plist' inside the Application's package (i.e. Sherlock.app/Contents/Info.plist). Open this file in your favorite text editor and add the following section (if it's already present simply change the 0 to a 1 in the string tag:
<KEY>NSUIElement</KEY>
<STRING>1</STRING>
NOTE: I substituted the standard square brackets for the purposes of posting here; you must substitute the angle brackets when editing. So far I've hidden my Sherlock and System Preferences icons. With the System Prefs you will have to write-enable the 'Info.plist' file by changing the permissions in a Terminal window:
sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist
Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment