Oh ok, that makes sense, since xdg-open
runs outside of the container, it expects a valid path on the host.
@ogra it seems that the editor issue is a blocker here:
- the app cannot open files in
/tmp
to allow the user to edit the file - Even if the code was changed to create the temp file in the
$HOME
folder (instead of/tmp
)xdg-open
would still return too soon (see this post).
Maybe there are other options I don’t know about but if not, is it possible to allow classic
confinement for this snap?