Commit 21251f6f authored by Gaute Hope's avatar Gaute Hope

Merge branch 'dev'

parents 5c6cc643 3f2c5939
......@@ -59,6 +59,7 @@ class At:
self.SCRIPT_DELIMITER = "###### ---- GNOME_SCHEDULE_SCRIPT_DELIMITER #####"
self.DISPLAY = "DISPLAY=%s; export DISPLAY;\n"
self.DISPLAY = self.DISPLAY + "XAUTHORITY=" + user_home_dir + "/.Xauthority; export XAUTHORITY;\n"
self.DISPLAY = self.DISPLAY + config.xwrapper_exec + " a\n"
self.DISPLAY = self.DISPLAY + """
xwrapper=$?;
......
......@@ -147,7 +147,8 @@ if job_type == 0:
# AT
elif (job_type == 1):
display = os.getenv ('DISPLAY')
check_X (display)
xauth = home_dir + "/.Xauthority"
check_X (display, xauth)
sys.exit (0) # All fine
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment