You are not logged in.
Is it just me or does xdg-mime use only ~/.local/share/applications/mimeapps.list and does not use ~/.config/mimeapps.list at all?
For example, I have the following in ~/.config/mimeapps.list:
[Default Applications]
audio/flac=deadbeef.desktopHowever, running `xdg-mime query default audio/flac' gives me mpv.desktop as a result. If I put the above in ~/.local/share/applications/mimeapps.list, then it gives me deadbeef.desktop as expected. Is this behavior documented anywhere?
EDIT: xdg-open also uses mpv instead of deadbeef when passed a FLAC file.
Last edited by d125q (2015-08-31 21:18:55)
Offline
Yes, the XDG tools don't follow the MIME specifications. But considering how badly they are written (and consequently, fail) I'd suggest using an alternative. That, or file a bug.
And no, creating symlinks won't work.
http://doc.cat-v.org/plan_9/4th_edition/papers/plumb
https://git.fleshless.org/sx-open/tree/
https://aur.archlinux.org/packages/mimeo/ (note: also ~/.local/share)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thanks for the info. Unfortunately, I find mimeo to be buggy; I can't even run `mimeo --update'.
Offline
I'd leave a comment on the AUR page, Xyne is usually quick to respond.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I wish I had seen this thread sooner. It would have saved me a few hours of reading docs and trying things.
Thank you for the info.
Is there any expectation of the XDG tools being updated in the near future?
Offline