Comment 14 for bug 204858

Revision history for this message
Michael Terry (mterry) wrote :

This is tricky. sensible-browser is called by xdg-open in the fallback case. So if we add smarts to sensible-browser to call xdg-open for some desktops, then we risk the fallbacks not matching up perfectly and an infinite loop.

It seems like xdg-open is the smartest/most-toplevel of the scripts that open URLs. So how about either of these options?

A) Switch OO.o to use xdg-open

B) Copy the logic in sensible-browser to the generic fallback case of xdg-open (instead of calling sensible-browser) and then make sensible-browser just be a call to xdg-open. You'd also have to deal with the fact that sensible-browser should work without a URL, but xdg-open does not.

(A) seems less intrusive; (B) seems more widely useful but much less likely to be accepted. Chris, you didn't like (A)?