From 88fe8469be84881fb4429cdbdc35026df9f62c45 Mon Sep 17 00:00:00 2001 From: Robinson Date: Sat, 20 Mar 2021 22:04:53 +0100 Subject: [PATCH] Moved IGEL detection into util ENV logic for a more broad application --- src/dorkbox/os/OSUtil.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dorkbox/os/OSUtil.java b/src/dorkbox/os/OSUtil.java index a887d2f..87defa5 100644 --- a/src/dorkbox/os/OSUtil.java +++ b/src/dorkbox/os/OSUtil.java @@ -657,7 +657,13 @@ class OSUtil { // same thing with plasmashell! XDG = "kde"; } + else if (OSUtil.Linux.isIgel()) { + // https://github.com/dorkbox/SystemTray/issues/100 + // IGEL linux doesn't say what it is... but we know it's XFCE + XDG = "xfce"; + } + // Ubuntu Unity is a weird combination. It's "Gnome", but it's not "Gnome Shell". if ("unity".equalsIgnoreCase(XDG)) { return Env.Unity;