(no subject)

nupul kukreja nupul.kukreja at gmail.com
Thu Apr 13 13:44:19 EEST 2006


> - go in /usr/share/applications
> - in mimeinfo.cache search for your mime-type
>- in the same dir look into the appropriate file *.desktop

Well Luca thanks  a million....yup it did help me solve my doubt...but
got another one ;) if a new application is installed, and has its own
file associations/MIME type etc, does it update the data in this
folder viz /usr/share/applications?

eg. Say my software uses a custom format .asdf files. Do I need to
update the mimeinfo.cache as well as add my .desktop file to this
folder?

If you search for .desktop files on your system you'll find a lot more
than those in the above directory. Why is this?

Thanks for the prompt reply.

Nupul


On 4/13/06, Luca Dionisi <luca.dionisi at gmail.com> wrote:
> > On Thursday 13 April 2006 08:06, nupul kukreja wrote:
> > > I went through the freedesktop specs on MIME. I'd like to know if
> > > there is any way by which I can query the database to know which
> > > application is to be used for a specific MIME type? I did check out
> > > the  "current Implementors" section and even downloaded the
> > > corresponding apps, but none of them seem to work. In general, is
> > > there any way to query the MIME database to know which application is
> > > suitable for a specific MIME type? esp in KDE
>
>  - go in /usr/share/applications
>  - in mimeinfo.cache search for your mime-type
>  - in the same dir look into the appropriate file *.desktop
>
> Is this of any help or are you asking for something different?
>
> --Luca
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>



More information about the xdg mailing list