Hi,

I stomped on these reports by chance, and since I know why this is
happening, I thought I’d give some explanations.

The MIME associations in gnome-vfs and gio used to look for defaults in
the hardcoded /usr/share/gnome/applications/defaults.list. However the
default should not be the same when you are running GNOME, XFCE or LXDE,
all of which use the same MIME system.

This is why this defaults.list is now contained in gnome-session, which
also sets XDG_DATA_DIRS accordingly so that file is used by any
application when running a GNOME session. When not using gnome-session,
the system chooses the first application in lexical order.

Now, XFCE and LXDE will probably ship their own defaults.list sooner or
later. As for those running a custom session, this is another story. The
XDG MIME system is seriously lacking a priority setting which could be
used to select the most appropriate application. We could ship a
distribution-wide defaults.list, but it would have to be autogenerated
based on some heuristics; this would be a package on its own, that would
need to be cared about.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to