summaryrefslogtreecommitdiffstats
path: root/usr/share/mageiawelcome/mageiawelcome.py
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/mageiawelcome/mageiawelcome.py')
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index 5048b67..3899859 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -51,7 +51,9 @@ def main():
arch = '32-bit'
home = os.getenv("HOME")
username = os.getenv("USER")
+ desktop = get_desktop_name(os.getenv("DESKTOP_SESSION"))
+
#collect packages nad its status
listapp = get_listapp()
@@ -70,6 +72,8 @@ def main():
l['kernel'] = kernel
l['arch_l'] = _("arch:")
l['arch'] = arch
+ l['desktop_l'] = _("Desktop:")
+ l['desktop'] = desktop
l['welcome'] = _("Welcome")
l['user'] = username
l['welcome_msg'] = _("<p>Thank you for choosing Mageia!</p><p> We have put a lot of effort to provide you with the best possible system, however please note that as nothing in this world is perfect neither is this distribution, therefore we will be very thankful for every contribution you can make to it.</p><p>To find out how you can help <a class='weblink' href='http://www.mageia.org/en/contribute/'>click here</a>.</p><p>Don't forget to tell your friends about Mageia.</p>")