Bug#601743: /usr/bin/gnome-open: Re: gnome-open man page doesn't say how to change what programs are used to open files

Emilio Pozuelo Monfort pochu at debian.org
Mon Feb 14 11:17:39 UTC 2011


On 14/02/11 08:33, Josselin Mouette wrote:
> Le vendredi 11 février 2011 à 21:45 -0500, Jason Woofenden a écrit : 
>> This is still infuriating. Can someone please please point me
>> towards some documentation on how to affect what programs
>> gnome-open launches for protocols and file types?
>>
>> Recently in unstable: gnome-terminal's right-click -> Open Link
>> thing has been calling chromium instead of the browser I've set
>> under System -> Preferences -> Preferred Applications
>>
>> So I checked, and gnome-open is doing the same thing.
>>
>> The man page for gnome-open needs to say how to configure it.
> 
> My guess go for either of the HTTP url-handler
> (/desktop/gnome/url-handlers) and the the HTML MIME association (that
> you can see in the properties of a HTML file).
> 
> Another guess goes for chromium setting a high number alternative on
> gnome-www-browser.

No, I think this is because of the new x-scheme-handler/http `MIME' types.
Jason, you want your preferred browser's desktop file to have x-scheme-handler,
like:

MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;

And then run update-desktop-database as root.

I'll try to look into this mess soon.

Cheers,
Emilio






More information about the pkg-gnome-maintainers mailing list