xdg-mime query filetype|default
Stefan.Kost at nokia.com
Stefan.Kost at nokia.com
Tue Jun 26 04:32:42 PDT 2007
hi,
>-----Original Message-----
>From: patrys at gmail.com [mailto:patrys at gmail.com] On Behalf Of
>ext Patryk Zawadzki
>Sent: 26 June, 2007 12:55
>To: Kost Stefan (Nokia-M/Helsinki)
>Cc: xdg at lists.freedesktop.org
>Subject: Re: xdg-mime query filetype|default
>
>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
>
thanks, that will work for the application. Any idea how plugins can add
some more types there?
Stefan
More information about the xdg
mailing list