Created attachment 55012 [details] [review] Patch to fix the problem Under some common circumstances, (eg. Lubuntu 11.10 with the "Lubuntu" session and gmrun), the current git HEAD (b961235b197647d6649ef3d48d7cc2cecafe3d47) for xdg-terminal sees TERM=linux and DE=generic and doesn't attempt to fall back to xterm. This could also conceivably happen with TERM=vt100 but a valid DISPLAY in some types of more esoteric network-transparent X11 setups. I've attached a patch which extends the basic check for an empty TERM value to also test for "linux" and "vt100". However, in the long term, the most proper solution would be to test whether the value of TERM is a valid command and use a fallback if that test fails.
http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=a8f4be67771f4158c9b63587828f52b00b603e8d
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.