Mime/Icon association

Kai-Uwe Behrmann ku.b at gmx.de
Tue Mar 2 06:26:42 PST 2010


I am searching for a way to tell filemanagers about a certain mime type 
and a according icon. What I could do is to install the mime type xml file 
in the style described here:

Additional I have added a <generic-icon name="oyranos_logo"/> element. But 
this seems to have no effect (dolphin and nautilus). In fact this icon is 
provided as PNG in:
~/.local/share/icons/hicolor/128x128/apps/oyranos_logo.png   and
The icons in that paths are used for applications just fine, e.g. 

Is my mime xml file somehow wrong (attached)?
Is on freedesktop.org a tutorial on how to install a application including 
a own data format?

I must admit the spec pages on freedesktop.org is somewhat confusing.
There are even specs which do not have a date inside, especially the 
"Shared MIME-info Database" spec.

Perhaps the generic-icon element is simply not yet implemented?

kind regards
Kai-Uwe Behrmann
developing for colour management 
www.behrmann.name + www.oyranos.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-colour-icc.xml
Type: text/xml
Size: 653 bytes
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20100302/eca81cbc/attachment.xml>

More information about the xdg mailing list