-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Mar 17, 2017 at 08:09:31PM -0700, Dan Hitt wrote: > Thanks Dominik, Steve, and Tomas for your mail. [...]
> That is, i think usually the best practice is to do capability > detection (like the autoconf apparatus or jquery does) and then use > whatever capabilities you detect. > > I'm not sure this is always possible, though, because if it is > something about the using the hardware in a certain way you may not be > able to detect this (but rather rely on what you know about the > environment). Definitely, yes. But I see your point. Perhaps those two pointers might help you a bit: https://metacpan.org/pod/Desktop::Detect https://www.freedesktop.org/wiki/Desktops/ (the second doesn't actually offer a method, but at least provides you with a pretty extensive list of alternatives). Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAljM/XUACgkQBcgs9XrR2kZ5bACfcGnW/8DeK2HJl6qhPV0pGLOW TF8AnjaWibG/2b01kOp97JH22wneI/3Q =gGPd -----END PGP SIGNATURE-----