finding mimetype of file

Jani Monoses jani.monoses at
Sat Nov 19 08:12:11 CET 2005

> Both file extensions and "magic" characteristics are available in the 
> shared-mimetype package. Tailoring this to your particular needs may 
> produce smaller/faster code.

thanks Edscott,

I was more interested whether there's a preferred library to do this for
xfce apps rather than rolling my own. Until now I used libmagic (the one
from file(1)) but that doesn't use the fd.o mimetype database.


More information about the Xfce4-dev mailing list