Skip to content
Foggalong edited this page Sep 19, 2014 · 2 revisions

What are hardcoded icons?

The standard locations for storing an applications icons are /usr/share/icons/hicolor/[size]/apps/[icon name] and ~/.local/share/icons/hicolor/[size]/apps/[icon name]. However, some developers choose to hardcode their icons by putting them elsewhere making it impossible for icon themes to change them. This is a bad practice as it leads to users changing launcher filers to complete thems which can result in breakage later on.

What should be done?

Report it! It is an issue that should be reported to the relevant bug trackers, and the developer(s) should fix it as soon as possible. But what about when this can't be done? What if the program isn't supported, the developer is unreachable or worse – stubborn?!

...well?

That's where this script comes in. It goes through out database of hardcoded icons and makes any corrections on your system that need to be made. It needs root access as they are mostly stored in root locations but is completely secure and open source for your examination. It makes the change by copying the original icon to the standard location and changing the launcher to reflect the move. This means that regardless of the theme you use there'll be no breakage.

What about themeing?

When fixing the icons it changes the name to a standardised one from our database. The designers of icon themes then simply create icons with names from our list and so when their theme is applied everything will work flawlessly.

Which icon themes support it?

Because the hardcode-fixer uses completely standard icon locations it can be used with literally any icon theme, and will work well with any theme that uses sensible naming conventions. There's more information about this here.

I'm not a designer or developer! How can I help?

Report any applications you find with hardcoded icons to us so that we can have the most complete fixer possible. Every little helps!