Originally posted by aychseven
i've heard that lots of people want to be able to kill the dock. well the SecurityServer process is somehow tied to the dock. if you kill that process, then kill the dock, it won't come back.
If you're interested in killing the dock, I found one way to do it that's very safe and actually seemed to increase performance and stability a little bit. But it comes with a caveat. Once you disable the Dock it's very tricky switching between any open Apps, but not impossible. If someone were to come up with a utility to replace just the Application Menu up in the menu bar I'd disable the Dock for good. And to open your programs you'll have to dbl-click them from within your hard drive, or create aliases and place them on your desktop.
Anyway, here are the instructions. Use at your own risk.
OK, fire up Terminal and login as su. Then go to System/Library/CoreServices/Dock.app/Contents/MacOS. There you will find the Dock application simply named Dock. To play it safe, make a copy of this file and save it to another folder. I put a copy in my Mac OS X Applications folder. Next, use the mv command to rename the Dock so that Mac OS X can't find it when it wants to start it up. I changed mine to Dock.old. Here's the full command line:
mv Dock Dock.old
Type exit to logout as su.
Type exit again to logout of Terminal.
Quit the Terminal program.
Next, go to the Mac OS X Applications folder and then open the Utilities folder.
Dbl-click the Process Viewer.
Look for Dock in the Process Viewer, dbl-click on it and choose Quit.
The Dock is gone. For good.
Almost.
Remember that copy you made and tucked away safely somewhere? If you want to bring the Dock back just dbl-click on the copy of the Dock you made and the Dock is back. Be advised though that if you reboot now, the Dock will *not*load up when you reach the desktop because Mac OS X can't find the program called "Dock" where it should be.
And if you want the Dock back permanently, just follow the instructions listed above and change the command line to:
mv Dock.old Dock
Reboot and the Dock will be back, behaving the way it did before.
Now if someone could create a replacement for the Application Menu that sat up in the Menu bar...