Hide the Dock icon of any application
by Hans Kokx on Jan.03, 2009, under Mac OS X, Tips & Tricks
For anyone familiar with OS X, they know that the Dock can get pretty cluttered with running applications. If you're like me, you try to keep the dock as tidy as possible. Some, however, have a need to run multiple programs, and there's no way around it. Luckily, there is a way to have your cake and eat it too.
Each application has an Info.plist file. This can be found by control clicking on the application, selecting show package contents, and finding the Info.plist file. To hide the dock icon, all you need to do is enter the following lines:
<KEY>NSUIElement</KEY>
<STRING>1</STRING>
Save the file and relaunch the application. Your Dock icon will now be hidden. To show it, simply repeat the process, replacing 1 with 0, or removing the lines altogether. Once the icon is hidden, you may have trouble quitting the application. If that's the case, follow these simple steps:
Open Activity Monitor (/Applications/Utilities/Activity Monitor.app) and locate the running process. Kill it from there.
Or, open your terminal (/Applications/Utilities/Terminal.app) and run the following command:
ps -ax |grep
<program name>
Find the PID of the application you want to quit, then type:
kill
<pid>
Easy!
December 24th, 2009 on 4:21 pm
It’s much easier if you just type:
$ killall {APPNAME};