<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 3:19 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">.xsession can work, if your subshell will give Sugar time to start,<br>
then copy environment variables from the Sugar shell process, then run<br>
sugar-launch.<br></blockquote><div><br></div><div>James,</div><div>Thanks for the hints about timing, and environment variables. I'm inclined to continue to explore .xsessions because I think I will have a better chance to manipulate the mate desktop from bash, rather than from python scripts down inside of sugar. </div><div><br></div><div>On the sugar desktop side, first experiments show that putting a start job into the background, with sugar-launch, works.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Don't know a best awy. Some deployments have used an automatic start<br>
activity.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" rel="noreferrer" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span></blockquote></div><br></div></div>