top | item 46753701

(no title)

sourcegrift | 1 month ago

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!

discuss

order

nickjj|1 month ago

> 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....

forgotpwd16|1 month ago

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).

saturn_vk|1 month ago

Great. I must be living on the moon then. I guess gnome work great there since it manages this part

mitjafelicijan|1 month ago

Gnome has done an amazing job at this, I agree. You don't even notice this issue.

mitjafelicijan|1 month ago

I probably haven't. :) They are a nightmare indeed. But it does help a little.