mimetype icon installation help needed

Kevin Fenzi kevin-fedora-extras at scrye.com
Mon Sep 25 17:29:59 UTC 2006


>>>>> "Patrice" == Patrice Dumas <pertusus at free.fr> writes:

Patrice> Hello, I would like to add an icon for a mime type
Patrice> (application/x-chm).  I use the Rodent theme currently in
Patrice> xfce, and I test in thunar and nautilus.  I have read some
Patrice> freedesktop documents, and I figured that I should put it in:
Patrice> /usr/share/icons/hicolor/48x48/mimetypes/application-x-chm.png

Patrice> It didn't worked. In fact the only thing that worked was to
Patrice> put the file in
Patrice> /usr/share/icons/Rodent/48x48/mimetypes/gnome-mime-application-x-chm.png

Patrice> I tried gnome-mime-application-x-chm.png and
Patrice> application-x-chm.png in
Patrice> /usr/share/icons/hicolor/48x48/mimetypes/ and
Patrice> /usr/share/icons/gnome/48x48/mimetypes/ since Rodent inherits
Patrice> from gnome, but in both cases the icon used was
Patrice> application.png (or gnome-mime-application.png) from Rodent.

Patrice> What am I doing wrong?

Humm... so what does the .desktop that sets an application for that
mime type look for in an icon?

http://fedoraproject.org/wiki/NewMIMESystem

Perhaps you need to run gtk-update-icon-cache before it will see the
new icon?

Patrice> Also is there a command which allows the change in mimetypes
Patrice> directories to be taken into account without relogin?

gtk-update-icon-cache ?

http://fedoraproject.org/wiki/PackagingDrafts/ScriptletSnippets/iconcache

Patrice> -- Pat

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060925/0ca187d8/attachment.sig>


More information about the fedora-extras-list mailing list