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.
Ackchyually XDG default applications aren't set via env vars but through the `${XDG_CONFIG_HOME}/mimeapps.list` file manipulated (either via text editor if track desktop files yourself or, better) via `xdg-mime {query|default}` tool. This TUI is a replacement (doesn't wrap it) to this tool for this functionality, with twist that does multiple-defaults category-wise rather one-by-one ("word processor documents" rather odt/doc.docx).
Compared to what slopcalypse has brought, this one at very least is useful (also is quite short; within a sea of thousand LOC generated in 1s this is refreshing).
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.
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....
Looks neat!
You vibe coded a TUI to set some env vars?
Is this every Show HN now?
Either you're so lame that you created an account just to say this, or you don't have the courage to say it from your real account.
Either way, why don't you show us some of the stuff you've made.
Ackchyually XDG default applications aren't set via env vars but through the `${XDG_CONFIG_HOME}/mimeapps.list` file manipulated (either via text editor if track desktop files yourself or, better) via `xdg-mime {query|default}` tool. This TUI is a replacement (doesn't wrap it) to this tool for this functionality, with twist that does multiple-defaults category-wise rather one-by-one ("word processor documents" rather odt/doc.docx).
Compared to what slopcalypse has brought, this one at very least is useful (also is quite short; within a sea of thousand LOC generated in 1s this is refreshing).
Who are you to tell people what to be proud of, and and what to want to share?
What have you shown that's better?