Skip to content

.desktop file %U not accepted

Description:

The packaging adds a .desktop file which uses the %U specifier to open an existing diagram. drawio does NOT accept that. From some brief googling it appears that it is intentional that they do NOT support at least file-local URLs as arguments. Using the %f specifier for a file path works nicely (%F for multiple files is no use, drawio only opens the first file).

Additional info:

  • package version(s): 27.0.9-1
  • config and/or log files: n/a
  • link to upstream bug report, if any: n/a

Steps to reproduce:

  1. Try to open existing .drawio file from a file manager that uses the .desktop entries.
  2. Drawio opens and complains w/ error "ENOENT, file:///..... does not exist".
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information