I have a .deb package that installs application icons under the following locations:
/usr/share/icons/hicolor/16x16/apps/
/usr/share/icons/hicolor/48x48/apps/
/usr/share/icons/hicolor/32x32/apps/
/usr/share/pixmaps/
After I installed the .deb package and replaced the installed icons with new ones (on disk), the old icon still shows up in Unity. What icon does Unity use for the application?
Best Answer
Icons are cached in one very big file:
Every theme should create a cache file on installation.
So for example - if you remove/rename the gnome icon-cache file:
You can then regenerate the cache:
In your case, you have added your application icons to hicolor - therefore you should force the regeneration of this cache file to pick up the new icons:
source