[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:21:23 CEST 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2347&from=L21haW4-

Comment #4 by Bruce STEERS:

It is Gnome being a problem.
MATE and Cinnamon do not show KDE vars but gnome does.
I logged into each desktop and then again. then ran the following shell command...
.
echo -e "KDE Vars...\n$(export|grep KDE)\nGNOME Vars..\n$(export|grep GNOME)\nXDG current = $XDG_CURRENT_DESKTOP"

The result for each desktop was as follows...
.
KDE....
KDE Vars...
declare -x KDE_FULL_SESSION="true"
declare -x KDE_SESSION_UID="1000"
declare -x KDE_SESSION_VERSION="5"
declare -x XDG_CURRENT_DESKTOP="KDE"
GNOME Vars..

XDG current = KDE

-------------------

MATE...
KDE Vars...

GNOME Vars..

XDG current = MATE

-------------

GNOME...
KDE Vars...
declare -x KDE_FULL_SESSION="true"
declare -x KDE_SESSION_UID="1000"
declare -x KDE_SESSION_VERSION="5"
GNOME Vars..
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x XDG_CURRENT_DESKTOP="GNOME"
XDG current = GNOME

-----------

Cinnamon...
KDE Vars...

GNOME Vars..
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
XDG current = X-Cinnamon

Hope that helps.




More information about the Bugtracker mailing list