xdg

XDG (or Cross Desktop Group)

“…freedesktop.org is a project to work on interoperability and shared base technology for free-software desktop environments for the X Window System…” https://en.wikipedia.org/wiki/Freedesktop.org

Default file manager

xdg-mime query default inode/directory