logoalt Hacker News

sourcegriftyesterday at 12:53 PM3 repliesview on HN

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!


Replies

nickjjyesterday at 1:19 PM

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

show 2 replies
saturn_vkyesterday at 4:28 PM

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

show 1 reply
mitjafelicijanyesterday at 2:57 PM

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