I use xdg-open 1.1.0 rc1 on a Linux Mint 10 LXDE system. When running it on Ubuntu 10.10 (Gnome) before, xdg-open did immediately exit after the specified file had been opened, but now it waits until the file type's associated program has been exited. That behaviour is a bit annoying, since I rely on xdg-open functionality (in particular: its exit code) inside a project and so it makes my program block on LXDE until the user closes the invoked program. It should not be a LXDE problem, since calling pcmanfm directly works as expected. It would be fine if that could be fixed, so that I don't need to implement some kind of ugly workaround for that. :-)
Found the reason: DE detection doesn't work here. Linux Mint is putting the value ``Mint`` to ``$DESTOP_SESSION``, while xdg-open checks for ``LXDE``.
waiting or not is dependant upon the helpers used, so I wouldn't assume behavior either way, see also bug #16295
*** This bug has been marked as a duplicate of bug 16295 ***
There still is the issue about LXDE detection. Should I better separate this into a new bug?