Activities/Learn: Difference between revisions
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 29: | Line 29: | ||
On 12.0.1 and later releases use /run/media/olpc/XXX. | On 12.0.1 and later releases use /run/media/olpc/XXX. | ||
The Learn activity requires a recent ( | Make sure the label XXX does not have spaces. A label such as /media/kls is fine. A label such as | ||
Sugar with the Gnome desktop, the version | /media/Store N Go does not work. | ||
The Learn activity requires a recent (12+) version of Firefox. While Firefox is installed on versions of | |||
Sugar with the Gnome desktop, the version doe not provide the needed capabilities. | |||
From the Firefox website, download the compressed Firefox file, e.g. firefox-*.tar.bz2, where '*' is the | From the Firefox website, download the compressed Firefox file, e.g. firefox-*.tar.bz2, where '*' is the | ||
version number of the latest Firefox release, e.g. | version number of the latest Firefox release, e.g. 16.0. Copy this file to the XXX drive. | ||
From this website download these files and copy them to the XXX drive: | From this website download these files and copy them to the XXX drive: | ||
[[ | [[File:Kls_demo_2.tar.bz2]] is a 50mb file which contains the sample content kls and other files | ||
for the Learn activity. Unpack it with the command: | for the Learn activity. Unpack it with the command: | ||
tar -xvjf Kls_demo_2.tar.bz2 | tar -xvjf Kls_demo_2.tar.bz2 | ||
This populates the drive with the scripts and the kls folder which contains the sample content. Optionally, delete the compressed file: Kls_demo_2.tar.bz2: | |||
rm -rf Kls_demo_2.tar.bz2 | |||
xo-custom is a script which sets up the XO to use the Learn.activity. It installs Firefox from the tar file on the XXX drive. It modifies two files in Sugar: sugar-launch and SimpleHTTPServer.py. Finally it sets up the XO to start the localhost daemon at boot. These changes do not affect normal operation of Sugar. | |||
Download learn-61.xo from the activities.sugarlabs.org site. Copy this bundle to the XXX drive. | Download learn-61.xo from the activities.sugarlabs.org site. Copy this bundle to the XXX drive. | ||