If operating system (Ubuntu 14.04 LTS in this case) saves user's associations at ~/.config/mimeapps.list and xdg-mime works with this (reads & writes there), then it's not a problem. It can be an OS distribution feature.
It's not xdg-mime that must follow GLib/Gnome behaviour: it should be Gnome that works consistently following same rules as xdg-mime. My problem in this list thread is that I check associations with xdg-mime (Nautilus is consistent to xdg-mime when opens files), but gnome-control-center doesn't work completely with Freedesktop rules but the real problem for me: doesn't have documented its own rules. El 26/10/15 a les 17:06, Florian Pelz ha escrit: > On 10/26/2015 09:12 AM, Narcis Garcia wrote: >> I'm testing with a desktop installation with local MIMEs associated at: >> ~/.local/share/applications/mimeapps.list > > ~/.local/share/applications/mimeapps.list is deprecated. See [1]. The > GUI saves the settings in ~/.config/mimeapps.list, which takes > precedence over ~/.local/share/applications/mimeapps.list. > > Nonetheless, the behavior you observe is strange. xdg-mime should always > show the same application as gnome-control-center. It seems like you > have found a bug and GLib reads the mimeapps.list files in the wrong > order. It would be nice if you reported this GLib bug on Bugzilla. > > [1] http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.html > _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list