Comment 16 for bug 670128

Chris Coulson (chrisccoulson) wrote :

I can't upload xdg-utils, so I'll just attach the diff here.

This is just a backport of the relevant parts of http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=6f49c05ceb2a1935d07c49c2e100b5cf3cdf5f26 to make the default browser/mail settings use the x-scheme-handler mimetypes.

In addition to this though, I had to also fix xdg-mime to use the users correct default mimetype handler settings (it was using ~/.local/share/applications/defaults.list, which is wrong. It'e meant to be ~/.local/share/applications/mimeapps.list, according to http://www.freedesktop.org/wiki/Specifications/mime-actions-spec and this is what everything else already uses)

Chromium is shipping its own xdg-mime and xdg-settings, so I've assigned myself to that too