[texdoc] [tex-live] Desktop environment and texdoc viewers

Manuel Pégourié-Gonnard mpg at elzevir.fr
Thu Dec 31 18:15:35 CET 2009

Khaled Hosny a écrit :
> On Thu, Dec 31, 2009 at 01:42:46AM +0100, Manuel Pégourié-Gonnard wrote:
>> PS: for those interested in the details, the detection method is slightly
>> adapted from the one in xdg-open from freedesktop.org, using:
>> - KDE_SESSION_VERSION to detect KDE4 (or greater...)
>> - KDE_FULL_SESSION for other KDE
>> - looking for "xfce4" in the output of 'xprop -root _DT_SAVE_MODE' (if xprop is
>> found) for xfce.
> Out of curiosity, why don't you simply use xdg-open if it existed?
> (assuming it isn't already the case)
Because I'm not sure xdg-open is installed, so I have to do something in this
case. But then, why not do it in all cases?


More information about the texdoc mailing list