FYI,<br>Another great program to use to install .xo bundles..... is 'xo-get'. Has both a console/terminal and Sugar/GUI interface.<br><br> <a href="http://wiki.laptop.org/go/Xo-get">http://wiki.laptop.org/go/Xo-get</a><br>
<br>Currently under going testing, but pretty darn close with only a handful of 'un-documented features left'. :-)<br><br>-iXo<br><br>p.s xo-get also has one of the most extensive collections of available .xo activities to install .<br>
<br><div class="gmail_quote">On Fri, Mar 14, 2008 at 10:39 PM, Charles Merriam <<a href="mailto:charles.merriam@gmail.com">charles.merriam@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Very nice!<br>
<div><div></div><div class="Wj3C7c"><br>
On Fri, Mar 14, 2008 at 11:29 AM, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>> wrote:<br>
><br>
> On Mar 14, 2008, at 17:15 , Bert Freudenberg wrote:<br>
><br>
> > Hi Scott, and all,<br>
> ><br>
> > I made a script that downloads and installs or upgrades the official<br>
> > activities for Update.1 from the repository at:<br>
> ><br>
> > <a href="http://mock.laptop.org/repos/local.update1/XOS/Dictionary-1.xo" target="_blank">http://mock.laptop.org/repos/local.update1/XOS/Dictionary-1.xo</a><br>
><br>
> I meant<br>
><br>
> <a href="http://mock.laptop.org/repos/local.update1/XOS/index.html" target="_blank">http://mock.laptop.org/repos/local.update1/XOS/index.html</a><br>
><br>
> of course ...<br>
><br>
> - Bert -<br>
><br>
><br>
><br>
> > The script is available at<br>
> ><br>
> > <a href="http://dev.laptop.org/%7Ebert/update-activities.py" target="_blank">http://dev.laptop.org/~bert/update-activities.py</a><br>
> ><br>
> > and it makes testing these activities on build 700 rather simple.<br>
> ><br>
> > Usage: update-activities.py [options] [ACTIVITIES]<br>
> ><br>
> > If no ACTIVITIES are listed, operate on all activities<br>
> ><br>
> > Options:<br>
> > -h, --help show this help message and exit<br>
> > -u, --upgrade upgrade installed activities [default]<br>
> > -i, --install install non-installed activities<br>
> > -d, --download only download, do not actually install or upgrade<br>
> > -l, --list only list, do not actually install or upgrade<br>
> ><br>
> > To save download time, do something like this first:<br>
> ><br>
> > cp -a /usr/share/activities/*.activity /home/olpc/Activities<br>
> ><br>
> > I also noticed problems with some of the .xo bundles, see<br>
> ><br>
> > <a href="http://dev.laptop.org/ticket/6696" target="_blank">http://dev.laptop.org/ticket/6696</a><br>
> > <a href="http://dev.laptop.org/ticket/6697" target="_blank">http://dev.laptop.org/ticket/6697</a><br>
> ><br>
> > And finally, there is a trick in the script so it connects to the<br>
> > current Sugar session even if run from the console or via ssh - may be<br>
> > useful to somebody:<br>
> ><br>
> > if not 'SUGAR_PREFIX' in os.environ:<br>
> > """Connect to running Sugar session"""<br>
> > cp = ConfigParser()<br>
> > cp.read(env.get_profile_path('<a href="http://session.info" target="_blank">session.info</a>'))<br>
> > os.environ['DBUS_SESSION_BUS_ADDRESS'] = cp.get('Session',<br>
> > 'dbus_address')<br>
> > dbus.set_default_main_loop(dbus.mainloop.NULL_MAIN_LOOP)<br>
> ><br>
> > - Bert -<br>
> ><br>
> ><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" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
><br>
><br>
><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" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
><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" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br>