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

Khaled Hosny khaledhosny at eglug.org
Thu Dec 31 16:01:16 CET 2009

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)


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://tug.org/mailman/private/texdoc/attachments/20091231/cc2a987a/attachment.bin>

More information about the texdoc mailing list