No one on earth has so far managed to get xdg default apps work on Linux. I've been failing since 19 years personally. If you've really succeded then congratulations!
> No one on earth has so far managed to get xdg default apps work on Linux.
I've only been using Linux for a few weeks but what am I missing here?
I set a bunch of mime types in `~/.config/mimeapps.list` which are assigned to desktop apps and they all open perfectly with `xdg-open` or when I launch them through a file manager.
It is documented in the XDG specification https://specifications.freedesktop.org/mime-apps/latest/file....
For me currently, when trying to open a `text/markdown` file, there's a disassociation between what my file manager (Caja) runs (own bin/emacs script; was under the impression it was auto-creating a .desktop file), what mimeapps.list have (emacs.desktop), and what `xdg-open` runs (Firefox for some reason).
Just by reading the title, I’m sold! This should be very useful specially if you are not using a desktop environment that manages the default apps.
I always alias open to xdg-open, it’s so useful to open a file directly from the terminal.
Feature suggestion: The ability to add/remove more specific mime entries such as video/mp4
Looks neat!