summaryrefslogtreecommitdiffstats
path: root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share')
-rw-r--r--usr/share/mageiawelcome/helpers.py2
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py
index a8148d3..9cf55d7 100644
--- a/usr/share/mageiawelcome/helpers.py
+++ b/usr/share/mageiawelcome/helpers.py
@@ -12,7 +12,7 @@ launch = _("Launch")
def get_desktop_name(x):
return {
- '01KDE4':'KDE',
+ '01plasma':'KDE',
'02GNOME':'Gnome',
'gnome': 'Gnome Wayland',
'gnome-xorg': 'Gnome X.org',
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index 4c7219d..f553bd6 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -50,7 +50,7 @@ def main():
arch = '32-bit'
home = os.getenv("HOME")
username = os.getenv("USER")
- desktop = get_desktop_name(os.getenv("DESKTOP_SESSION"))
+ desktop = get_desktop_name(os.path.basename(os.getenv("DESKTOP_SESSION")))
if desktop == 'Other':
desktop = get_desktop_name2(os.getenv("XDG_CURRENT_DESKTOP"))