[Sugar-devel] Simple stuff I don't know

Martin Abente martin.abente.lahaye at gmail.com
Wed Sep 16 18:58:08 EDT 2015

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.


1. https://github.com/tchx84/sugar-gpaste

On Wed, Sep 16, 2015 at 6:19 PM, James Cameron <quozl at 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 at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150916/23df00b4/attachment.html>

More information about the Sugar-devel mailing list