Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178988

Re: programmatically determining the desktop environment of a system

From tomas@tuxteam.de
Newsgroups linux.debian.user
Subject Re: programmatically determining the desktop environment of a system
Date 2017-03-18 10:30 +0100
Message-ID <tmiQp-489-3@gated-at.bofh.it> (permalink)
References <tlSsW-15A-1@gated-at.bofh.it> <tlV7r-3m4-15@gated-at.bofh.it> <tmd4l-8t6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----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-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

programmatically determining the desktop environment of a system Dan Hitt <dan.hitt@gmail.com> - 2017-03-17 06:20 +0100
  Re: programmatically determining the desktop environment of a system Dominik George <nik@naturalnet.de> - 2017-03-17 06:50 +0100
  Re: programmatically determining the desktop environment of a system <tomas@tuxteam.de> - 2017-03-17 09:10 +0100
    Re: programmatically determining the desktop environment of a system Dan Hitt <dan.hitt@gmail.com> - 2017-03-18 04:20 +0100
      Re: programmatically determining the desktop environment of a system tomas@tuxteam.de - 2017-03-18 10:30 +0100
  Re: programmatically determining the desktop environment of a system Stefan Monnier <monnier@iro.umontreal.ca> - 2017-03-18 17:00 +0100
    Re: programmatically determining the desktop environment of a system Dan Hitt <dan.hitt@gmail.com> - 2017-03-19 19:20 +0100

csiph-web