Comment 7 for bug 1551171

Revision history for this message
In , ghomem (gustavo) wrote :

I agree with Dutch Kind that this should be handled on a desktop agnostic manner like xdg-mime.

I have to add that we had this problem since at least Firefox 3.6.x on KDE.

Possible solutions in order of preference:

1. make this work in a desktop agnostic manner (via xdg)
2. use the GNOME application order in the correct way (not via the cache file)

This first solution seems better because it would be up to the distribution to ensure that xdg* works well, whereas the second one may reflect the good or bad behaviour of GNOME.

Usage examples for xdg-mime query:

[gustavo@localhost ~]$ xdg-mime query default application/pdf
AdobeReader.desktop
[gustavo@localhost ~]$ xdg-mime query default image/jpg
gwenview.desktop
[gustavo@localhost ~]