extending mime-type def with generic-icon

Bastien Nocera hadess at hadess.net
Mon Oct 18 17:34:46 PDT 2010


On Mon, 2010-10-18 at 19:21 -0400, Matthew Monaco wrote:
> On 10/18/2010 08:20 AM, Bastien Nocera wrote:
<snip>
> The thing is, I don't want the icons to be a part of a specific them. I renamed 
> the icons to match the mimetype exactly, attempted both generic-icon and icon in 
> both the system area and local user area, nothing has worked.
> 
> I get that the image-x-generic in the gnome icon them would override something 
> in hicolor, but the fact that I'm explicitly stating an icon AND naming that 
> icon by the mimetype, yet I still don't see the correct icon, I don't get.

You're supposed to install the named icons in hicolor, if you're
extending the basic set of icons. And don't forget to run
gtk-update-icon-cache.

See how gnome-icon-theme-extras does it for example:
http://git.gnome.org/browse/gnome-icon-theme-extras

In the future, reply to the list as well.

Cheers



More information about the xdg mailing list