xdg-mime query filetype|default
Patryk Zawadzki
patrys at pld-linux.org
Tue Jun 26 02:54:40 PDT 2007
On 6/26/07, Stefan.Kost at nokia.com <Stefan.Kost at nokia.com> wrote:
> The second issue is that I can't figure out how to associate mime-types with
> applications during software installation. My app has own data-files that I
> would like to register right away. The project also has some optional
> packages wth plugins. When those are installed I would like to install the
> xml-file with the mime-info (if type is not yet know) and associate more
> mime-types with my app, unless they are already assigned.
In your .desktop file that goes to $prefix/share/applications put:
MimeType=foo/bar;bar/baz;
--
Patryk Zawadzki
Generated Content
More information about the xdg
mailing list