From 16b5eef8c362887d339a409ff48111730ee489b3 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 8 Oct 2013 19:30:56 +0200 Subject: Terminal now starts on /home/dan directory --- usr/share/mageiawelcome/mageiawelcome.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py index c65114b..c81bde8 100644 --- a/usr/share/mageiawelcome/mageiawelcome.py +++ b/usr/share/mageiawelcome/mageiawelcome.py @@ -130,6 +130,9 @@ def main(): elif msg.startswith("run"): args = shlex.split(msg) args.pop(0) + print args + if args[0] == "xvt": + os.chdir(home) subprocess.Popen(args) elif msg.startswith("gurpmi"): -- cgit v1.2.1