[Gambas-bugtracker] Bug #2347: Desktop.Type gives KDE5 if kde is instaled but using gnome

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Aug 18 20:32:03 CEST 2021


Comment #5 by Benoît MINISINI:

Logically, the fix would be checking XDG_CURRENT_DESKTOP first.

And GetDesktop() should return "GNOME" for all Gnome desktop. If you need the detail, you can use the Desktop.Types property.

More information about the Bugtracker mailing list