[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
>> - GNOME_DESKTOP_SESSION_ID for gnome
>> - 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?

Manuel.


More information about the texdoc mailing list