Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that whenever we add an icon to the dock, it gets added to ~/Library/Preferences/ file. So, when I wanted to remove a dock icon from a program, I removed the corresponding entry from the plist file. However, I am seeing some issues in Mountain Lion(only). Sometimes, when I delete the entry from the file and kill the dock, the dock icon is still present in the dock. I am not sure how this can be possible. I confirmed that the application is not running. Is there any other location where dock information gets stored? Has anybody else faced such issues?

share|improve this question
Is there a specific reason why you edit the plist instead of dragging the icon out of the Dock? – patrix Aug 13 '12 at 7:38
Why can't you just use the drag out method to remove dock icons? Is this for some sort of scripting that you need to manually edit the plist? – AMomchilov Aug 13 '12 at 7:39
Yes, the process is a part of an automation script which removes the entry from the plist file to remove the dock icon. The same was working consistently till MacOS 10.7. – Vikram Singh Aug 13 '12 at 8:09
So the script also does not work on OS X 10.7, correct? – MrDaniel Aug 13 '12 at 19:28
The script work fine on 10.7 and below systems. Problem occurs only in 10.8 – Vikram Singh Aug 14 '12 at 0:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.