Associating a mime-type with an icon

Alexander Larsson alexl at redhat.com
Thu Feb 26 10:44:03 EET 2004


On Wed, 2004-02-25 at 22:46, Benjamin Dauvergne wrote:
> Hello
> 
> There is actually mime-type and icon-theme spec, but i would like to
> know if the different desktops are converging toward a same method for
> getting the icon to represent a particular mime-type.

I think the mime type spec hints about a way to do this mapping, but i
don't know if anyone is using that. Gnome is not at least, we use a
slightly different mapping.

Mimetype image/x-foo maps to gnome-mime-image-x-foo, and if that doesn't
exist it looks for gnome-mime-image.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a Nobel prize-winning small-town cop trapped in a world he never made. 
She's a mistrustful hypochondriac journalist with a song in her heart and a 
spring in her step. They fight crime! 





More information about the xdg mailing list