user328146
user328146

Reputation:

Restart/Refresh Dock - killall Dock - cache

I've made an app which changes the OSX Trash icon. However after it has replaced the icon .png files in .../CoreServices/Dock.app/Resources it will not show the new icon before the Trash has changed state (fx. empty -> full or full -> empty). I've tried making the change appear by using killall Dock, killall Finder but not working.. I've also read about deleting a dock cache file in Library/Caches/com.apple.dock... But i can't seem to find this file?

Can you help me?

Upvotes: 3

Views: 4209

Answers (2)

user328146
user328146

Reputation:

I actually ended up using the bash command find . -name com.apple.dock.iconcache. Then I deleted all of the matches. It works perfectly!

Upvotes: 4

Izac Mac
Izac Mac

Reputation: 502

there are two states for trash. the empty trash and the something in it trash icon....are u sure u have changed BOTH of them in the plist in your program... !! if u change both of them separately . i m sure it will work...

oh yes...and the plist ur looking for is in the folder /Users/(your username)/Library/Preferences/com.apple.dock..... hope this helps

Upvotes: 0

Related Questions