<div dir="ltr">Hey George,<div><br></div><div>You could:</div><div><br></div><div>1) modify the sugar shell to launch it... ie., doing something similar to what was done for the welcome activity. Or...</div><div>2) use the sugar services stuff to launch the activity without having to modify sugar.</div><div><br></div><div>I would go for the second option, and simply write a _very_ small sugar service that launches the activity. You can use this simple service as an example [1]. The only thing you really need is to implement the account.py [2] file, where the activity should be launched. You can pretty much ignore the rest.</div><div><br></div><div>Regards,</div><div><br></div><div>Refs:</div><div>1. <a href="https://github.com/tchx84/sugar-gpaste">https://github.com/tchx84/sugar-gpaste</a></div><div>2. <a href="https://github.com/tchx84/sugar-gpaste/blob/master/extensions/webservice/gpaste/account.py">https://github.com/tchx84/sugar-gpaste/blob/master/extensions/webservice/gpaste/account.py</a></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 6: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>
<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>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" rel="noreferrer" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</font></span></blockquote></div><br></div>