summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpille1842 <pille1842@users.noreply.github.com>2016-09-27 23:06:06 +0200
committerGitHub <noreply@github.com>2016-09-27 23:06:06 +0200
commit67950ff62cb61e259bf4983c116c16d6d1575fcc (patch)
tree038262305977e76c1411940bf1101de8aca3a16d
parent182c8a0c0a8fb9a96f1a2fd20a6f98139269d839 (diff)
Make archey3 recognize a running GNOME desktop
archey3 doesn't recognize that GNOME 3.20 is running. That's because there's no process called `gnome-session`. A safer way to see if GNOME is running would be to look for processes called `gnome-shell`.
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
diff --git a/archey3 b/archey3
index caf41e6..0e1f839 100755
--- a/archey3
+++ b/archey3
@@ -84,7 +84,7 @@ def module_register(name):
DE_DICT = collections.OrderedDict([
('cinnamon', 'Cinnamon'),
- ('gnome-session', 'GNOME'),
+ ('gnome-shell', 'GNOME'),
('ksmserver', 'KDE'),
('mate-session', 'MATE'),
('xfce4-session', 'Xfce'),