@@ -403,12 +403,14 @@ sprops.os_arch = ARCHPROPNAME; if (getenv("GNOME_DESKTOP_SESSION_ID") != NULL) { sprops.desktop = "gnome"; - } - else { + } else if ((strcmp(getenv("DESKTOP_SESSION"), "xfce") == 0) || + (strcmp(getenv("DESKTOP_SESSION"), "xfce4") == 0)) { + sprops.desktop = "xfce"; + } else { sprops.desktop = NULL; } } /* Determine the language, country, variant, and encoding from the host,