[Thunar-dev] Mime Recognition

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Thu Aug 25 23:46:42 CEST 2005

Benedikt Meurer wrote:
> There's no problem to use the code in other applications. Just link to 
> thunar-vfs. That way you can also access the trash and copy/move files, 
> etc, which will be used for the e.g. trash panel plugin once the panel 
> supports out-of-process plugins.

Thunar installs a shared lib, headers and the pkg-config file for this 
purpose, e.g. compile with:

  cc `pkg-config --cflags --libs thunar-vfs-1` ...

and remember to invoke thunar_vfs_init() on program/module startup, and 
thunar_vfs_shutdown() on exit (atleast for modules!).

But since the API is not frozen yet, expect breakage during the next 
months. ;-)


More information about the Thunar-dev mailing list