Bert's script: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Contributing: added git repo)
m (added note for Chris's XO-GET script.)
Line 27: Line 27:
To contribute, clone the repository and send patches to [[User:Bert|Bert]]:
To contribute, clone the repository and send patches to [[User:Bert|Bert]]:
git clone git://dev.laptop.org/users/bert/berts-script
git clone git://dev.laptop.org/users/bert/berts-script

== See Also ==
* [[xo-get]] : Another XO activity downloading utility created by [[User:Crazy-chris|Chris Hager]] .

Revision as of 06:43, 6 August 2008

As of Update.1, OLPC builds separate operating system updates from activity updates, which may initially give the appearance of activities disappearing. The customization key process facilitates installation of an Activity pack (a collection of activities) from a USB flash drive; also Bert Freudenberg has written a script to install the default set of activities:

 http://dev.laptop.org/~bert/update-activities.py

Getting the activities back is then as simple as:

  • Start the console by pressing the Ctrl+Alt+Mesh key f1 small.png keys.
  • Press enter
  • Enter the following commands:
su - olpc
wget dev.laptop.org/~bert/update-activities.py
python update-activities.py
  • Return to Sugar by pressing the Ctrl+Alt+Home key f3 small.png keys, and the frame should show the extra activities.

For Joyride builds, try this script instead

 http://dev.laptop.org/~bert/joyride-activities.py

It is the same except it fetches activities from the joyride repository, not the update.1 repository.

Reusing Downloads

As of 2008-07-02 this sequence costs 15Mb of downloads for the stable activities, and results in 38Mb of space used. To copy to another laptop without having to download again, copy the /home/olpc/Activities directory.

Contributing

The scripts are maintained in git:

http://dev.laptop.org/git?p=users/bert/berts-script;a=summary

To contribute, clone the repository and send patches to Bert:

git clone git://dev.laptop.org/users/bert/berts-script

See Also