I don’t really use the dock that much, and so I get frustrated when I install programs and they add themselves automatically. I needed a way to remove all of the programs out of the dock (downloads, documents, etc will remain). This is what I came up with:
- run this applescript:
-
quit application "Dock"
- use plist edit pro and edit this file:
- /Users/user/Library/Preferences/com.apple.dock.plist
- delete all entries under persistent-apps
- save
- run this applescript:
-
activate application "Dock"
- if that doesn’t work, try running the above applescript again to quit, and then to restart.