On Sat, Jan 05, 2008 at 12:26:29PM -0500, rgheck wrote: > Darren Freeman wrote: >> On Sat, 2008-01-05 at 10:50 -0500, rgheck wrote: >> >>> xdg-open is supposed just to open whatever viewer you have defined for >>> the relevant file type. If you're not using one of the desktops for which >>> it is defined (KDE, Gnome, XFCE) and, moreover, don't have >> >> But I am using KDE. Is it possible that by using ssh to remotely log in >> and use LyX, I am missing the required environment variable? >> >> > Yes, that's possible. xdg-open will be run as a child of whatever process > is running LyX, so if you're running it remotely, then what environment > variables are defined will depend.
I ran into this same problem a year ago: running LyX remotely. Then it will not detect the DE running on the remote because there is none, if you just start a single program over an X tunnel. There is a mechanism in X11 to tell the remote what the local DE is (X resources?) which was brought forward as a possible solution for xdg-utils. But apparently nothing has happened after I filed my bug. - Martin