[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-30 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Benoît MINISINI changed the state of the bug to: Fixed. -- ___ Gambas-user mailing list

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-30 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #12 by Jesus GUARDON: Of course, it now works as expected. Many thanks, Benoît -- ___ Gambas-user

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=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

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #3 by Jesus GUARDON: I meant ...but what if you leave this check as the last one, *after* all others have failed? Sorry --

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #5 by Jesus GUARDON: I agree on reporting to Mint as a bug. Will do, of course. Anyway, thanks for hacking on it ;-) This is my XDG_DATA_DIRS output, if it helps. $ echo $XDG_DATA_DIRS

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Benoît MINISINI changed the state of the bug to: Working. -- ___ Gambas-user mailing list

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #4 by Benoît MINISINI: $XDG_DATA_DIRS is not reliable, it does not necessarily contains a directory having the string xfce4. But I can add a test on it, in the hope than at least one of the three tests succeeds. Anyway, you

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #6 by gbWilly GAMBOS: What you could do as a last resort if XDG_CURRENT_DESKTOP fails to detect xfce is: 1. Check xfwm4 --version -> Try Exec ["xfwm4", "--version"] To sWindowManager 2. Parse the output. If the file

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #7 by gbWilly GAMBOS: Oops posted a mistake: 2. -> If Left(sWindowManager, 11) = "This is xfw" Then ... --

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #8 by Benoît MINISINI: No, it means nothing: xfwm4 can be installed on the system even if you don't use it. And testing if it is running is useless too, because maybe it is running in another session, not mine.

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #9 by Jussi LAHTINEN: So, could you do it this way: Shell "ps -u $(whoami) | grep xfwm4" To sIsitXFCE If sIsitXFCE Then 'The desktop is XFCE --

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #10 by Benoît MINISINI: I don't want to rely on two external processes, and the name of the window manager executable which may change. --

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Benoît MINISINI changed the state of the bug to: Waiting. -- ___ Gambas-user mailing list

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #11 by Benoît MINISINI: Test on XDG_DATA_DIRS has been added in revision #7365. Tell me if it works for you. --

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Jesus GUARDON added an attachment: systeminfo.png -- ___ Gambas-user mailing list

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Jesus GUARDON reported a new bug. Summary --- System information unable to detect Xfce desktop Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Comment #1 by Benoît MINISINI: Is it better with revision #7361? Apparently, XFCE is the harder desktop to detect, and I don't know if there is a 100% reliable method for that. Standard desktop detection is based on the

[Gambas-user] [Gambas Bug Tracker] Bug #773: System information unable to detect Xfce desktop

2015-09-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.773=L21haW4- Benoît MINISINI changed the state of the bug to: Waiting. -- ___ Gambas-user mailing list