[maemo-developers] xdg-mime missing: is there a way to find out the default application for a given mime type

From: daniel wilms daniel.wilms at nokia.com
Date: Mon May 3 10:48:05 EEST 2010
Hi,


ext Felipe Crochik wrote:
>
> How can I find out what is the default application associated to a 
> file type (or preferably a mime type)?
>
>  
>
> I found out that, at least, on ubuntu you can use xdg-mime for that.
>
>  
>
> I would like to either find out the application so I can execute it 
> directly or find a way to just have “the system” figure out and handle 
> a file and/or a url. In other words I want to be able to tell “the 
> system” to: open thisfile.mp3 or play http://anywhere/video.mp4
>
>  
>

check the documentation on that topic [1], but when it comes to 
URL-handlers, please be aware of this bug [2].

1. 
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/MIME_type_mapping
2. https://bugs.maemo.org/show_bug.cgi?id=6263

Daniel
More information about the maemo-developers mailing list