[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop
bugtracker at ...3416...
bugtracker at ...3416...
Mon Sep 28 22:15:19 CEST 2015
http://gambaswiki.org/bugtracker/edit?object=BUG.773&from=L21haW4-
Comment #2 by Jesus GUARDON:
I'm afraid it does not work here.
Environment variables return no useful information:
$DESKTOP_SESSION returns literally "default.desktop" when issued in terminal.
$XDG_MENU_PREFIX returns an empty string.
So, if you would see my changes to report-ng.sh, you will see I'm using $XDG_DATA_DIRS variable [0]
that seems to contain a directory having the string xfce4. I don't know if it is reliable at all,
specially when one have more than one desktop environment installed, but what if you leave this check as the last one, before
all others have failed?
[0] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Regards
More information about the User
mailing list