This could be enabled by default when we add at least a dialog showing that the file is ready to be opened (see #1375) since we don't want open-silently by default. (for security reasons)
Maybe each one could be enabled independently?
Basic support added in r17726.
Will end up sending the file to the client and ask it to open it. (which is not allowed by default)
forwarding of xdg-open for URLs
Things that could be done to improve this:
pathsas options to only forward the type specified and let the other one through - meh
$PATH), so commands started with
--start-childand friends), but not with
xdg-mimefor those? (PITA as this points to a desktop file..) - see Where does firefox get the “default” applications for opening files from? (esp comments:
gio open- some kind of sick joke?)
How to test:
xdg-openworks normally (not overriden with our custom script)
From here on, with
forward-xdg-open=yes (which is the default):
xdg-open https://xpra.org/, this should popup the dialog asking the client if it accepts to open this URL
yes, and check again
xdg-open /path/to/some/file.png, again, the dialog should come up
yesand check again (default value is
@maxmylyn: just a FYI.
Noted and closing.
For the html5 client, see #1862.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1726