Hey George,

You could:

1) modify the sugar shell to launch it... ie., doing something similar to
what was done for the welcome activity.  Or...
2) use the sugar services stuff to launch the activity without having to
modify sugar.

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.

Regards,

Refs:
1. https://github.com/tchx84/sugar-gpaste
2.
https://github.com/tchx84/sugar-gpaste/blob/master/extensions/webservice/gpaste/account.py



On Wed, Sep 16, 2015 at 6:19 PM, James Cameron <qu...@laptop.org> wrote:

> .xsession can work, if your subshell will give Sugar time to start,
> then copy environment variables from the Sugar shell process, then run
> sugar-launch.
>
> Don't know a best awy.  Some deployments have used an automatic start
> activity.
>
> --
> James Cameron
> http://quozl.linux.org.au/
> _______________________________________________
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to