3

Related to this answer on my previous question.

So, XDG can handle it on its own:

  • It can manage default applications - xdg-mime
  • It can open file with associated application - xdg-open.

Why do desktop environments make their own replacements for xdg-open? Like gvfs-open, kde-open, or exo-open,...

Isn't xdg-open enough? If not, what does it lack?

kravemir
  • 4,174

1 Answers1

6

The Arch Wiki says:

Inside a desktop environment (e.g. GNOME, KDE, or Xfce), xdg-open simply passes the arguments to that desktop environment's file-opener application (gvfs-open, kde-open, or exo-open, respectively), which means that the associations are left up to the desktop environment. When no desktop environment is detected (for example when one runs a standalone window manager, e.g. Openbox), xdg-open will use its own configuration files.

So, they are not replacements, but backends.

muru
  • 72,889