Activities/Learn: Difference between revisions
No edit summary |
|||
Line 15: | Line 15: | ||
== | ==Installation== | ||
===Prepare a removable drive=== | |||
The removable drive can be a usb flash drive or an SD card. | |||
enter the command: ls /media, you | |||
If you run the Terminal activity and enter the command: | |||
ls /media | |||
,you should see /media/XXX (where XXX is the label of your removable drive). | |||
The Learn activity requires a recent (4+) version of Firefox. While Firefox is installed on versions of | The Learn activity requires a recent (4+) version of Firefox. While Firefox is installed on versions of | ||
Sugar with the Gnome desktop, | Sugar with the Gnome desktop, the version precedes version 4. | ||
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. Copy this file to the XXX drive. | version number of the latest Firefox release, e.g. 13.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: | ||
Line 30: | Line 37: | ||
[[Image:Kls_demo_1.tar.bz2]] is a 45mb file which contains the sample content for the Learn activity | [[Image:Kls_demo_1.tar.bz2]] is a 45mb file which contains the sample content for the Learn activity | ||
[[File:Learn.sh]] is a script which installs Learn from the bundle. | [[File:Learn.sh]] is a script which installs Learn from the bundle. | ||
[[File:Firefox.sh]] is a script which installs Firefox from the tar file on the XXX drive. It also | |||
modifies two files in Sugar: sugar-launch and SimpleHTTPServer.py. These changes have no effect on | |||
normal Sugar use. | |||
Download learn-51.xo from the Activities.Sugarlabs.org site. Copy this bundle to the XXX drive. | Download learn-51.xo from the Activities.Sugarlabs.org site. Copy this bundle to the XXX drive. | ||
Line 45: | Line 53: | ||
Learn.sh | Learn.sh | ||
Now mount the XXX drive on the XO. | ===Execute the install scripts=== | ||
Now mount the XXX drive on the XO. | |||
Launch the Terminal activity. | Launch the Terminal activity. | ||
Enter the commands: | Enter the commands: | ||
Line 54: | Line 65: | ||
Upon completion of these commands, the script shuts down the XO. | Upon completion of these commands, the script shuts down the XO. | ||
The XO is ready. Restart to use Learn. | The XO is now ready. Restart to use Learn. | ||
===Firefox Preferences=== | ===Firefox Preferences=== |