[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is /usr/lib/mime/packages/<package> used for?



Felix Natter <fnatter@gmx.net> writes:

> hi,
>
> in my case, /usr/lib/mime/packages/freeplane looks like this
> (I'm developing this package, it's in experimental):
>
> application/x-freeplane; /usr/bin/freeplane '%s'; test=test -n "$DISPLAY";
> description="Freeplane MindMap file"; textualnewlines; nametemplate=%s.mm

This was useful for me:
  http://packages.debian.org/jessie/mime-support

> Since there is also /usr/share/mime/packages/freeplane.xml, what is the
> above file used for? My tests show that it probably does not affect
> "file --mime foo.mm" (and /usr/share/mime/packages/freeplane.xml affects
> the way that mime types are handled by GNOME/KDE).

`file' uses its own database that is maintained "upstream" (not by Debian).

Best Regards,
-- 
Felix Natter


Reply to: