summaryrefslogtreecommitdiffstats
path: root/usr/share/mageiawelcome/mageiawelcome.py
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2013-11-05 14:01:45 +0100
committerDaniel Napora <napcok@gmail.com>2013-11-05 14:01:45 +0100
commit4eee8a6f5791427441bc4024ee88932a4b90ccc0 (patch)
tree6c442ded8b7ac6dbc6267e3c2dc11daec4a69266 /usr/share/mageiawelcome/mageiawelcome.py
parent77106c5c47883866b573f88b3dc0d75b5ae85bb0 (diff)
downloadmageiawelcome-4eee8a6f5791427441bc4024ee88932a4b90ccc0.tar
mageiawelcome-4eee8a6f5791427441bc4024ee88932a4b90ccc0.tar.gz
mageiawelcome-4eee8a6f5791427441bc4024ee88932a4b90ccc0.tar.bz2
mageiawelcome-4eee8a6f5791427441bc4024ee88932a4b90ccc0.tar.xz
mageiawelcome-4eee8a6f5791427441bc4024ee88932a4b90ccc0.zip
Show current DE name
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>")