Bert's script: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added commands to change to the olpc user.)
No edit summary
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
As of Update.1, we'll have separated the operating system updates from the activity updates, which may initially give the appearance of activities disappearing. The "customization key" process (See [[Customization key]]) is intended to facilitate customization of activities; also Bert Freudenberg has written a script to install the default set of activities:


<b>Note:</b> This page is <b>obsolete</b>. In 8.2 and new joyride builds there is a [[Sugar Control Panel#Software updates|graphical updater]].
http://dev.laptop.org/~bert/update-activities.py


-----
Getting the activities back is then as simple as:


As of release [[8.1.0]] (also known as "Update.1"), OLPC [[builds]] separate operating system updates from activity updates, which may initially give the appearance of activities disappearing.
su olpc
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 a default set of activities over the Internet:
cd
wget dev.laptop.org/~bert/update-activities.py
python update-activities.py


http://dev.laptop.org/~bert/update-activities.py
...which works from the ctrl-alt-[[Image:Mesh_key_f1_small.png]] console.

== Getting the activities back is then as simple as: ==
* Start the [[console]] by pressing the Ctrl+Alt+[[Image: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+[[Image:Home key f3 small.png]] keys, and the frame should show the extra activities.

== For Joyride and development builds ==
For [[Joyride]] development builds, try this version of the script:

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

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

In development builds leading to the upcoming (as of August 2008) [[8.2.0]] release, you can install a default set of activities over the Internet from the graphical [[Sugar Control Panel]].

== 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 [[User:Bert|Bert]]:
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]] .

[[Category:Activity installation]]

Latest revision as of 14:53, 14 September 2008

Translate this page with Google -español -български -中文(中国大陆) -中文(臺灣) -hrvatski -čeština -dansk -Nederlands -suomi -français -Deutsch -Ελληνικά -हिन्दी -italiano -日本語 -한국어 -norsk -polski -português -română -русский -svenska


Note: This page is obsolete. In 8.2 and new joyride builds there is a graphical updater.


As of release 8.1.0 (also known as "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 a default set of activities over the Internet:

 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 and development builds

For Joyride development builds, try this version of the script:

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

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

In development builds leading to the upcoming (as of August 2008) 8.2.0 release, you can install a default set of activities over the Internet from the graphical Sugar Control Panel.

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