I use the daily ppa build of Chromium. The daily build uses a PNG I believe instead of an SVG, so it looks rather horrid on my dock.
And zoomed in:
(Not too sure why the icon is getting clipped in this screenshot, I did a select area method which perhaps has made it funky. Anyway, you get the idea!)
So after every update, I have to manually go into /usr/share/applications and manually select an SVG Chromium icon for the Chromium launcher to use. Since Chromium uses the daily build, this is rather tedious to do following every update.
Is there a means / scripting method that can be put into place that will automatically change Chromium's icon following an update of Chromium?
Allan's answer should work, but here is another way:
Copy
/usr/share/applications/chromium-browser.desktop
to your Desktop:cp /usr/share/applications/chromium-browser.desktop ~/Desktop
Select a custom icon.
Right click -> Properties -> Permissions -> Check Allow executing file as program.
Now go back to the Basic tab and click on the icon in the upper left to select a new icon.
Move this launcher to
~/.local/share/applications/
:cp ~/Desktop/chromium-browser.desktop ~/.local/share/applications
You should now see this launcher with the icon you selected in the Application menu, so add it to your Dock.
That's it! This launcher won't be overwritten every time you upgrade Chromium. You may need to restart your dock for it to notice.
I think this is possibly what you are looking for
HOWTO: Custom Icon Themes
I'm fairly sure that per user icons eg Icon's in your .icon folder super-seed the Icons that are provided elsewhere but I could be wrong. Its worth a shot.