Activities/Learn: Difference between revisions

Tony37 (talk | contribs)
No edit summary
Tony37 (talk | contribs)
 
(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 (4+) version of Firefox. While Firefox is installed on versions of  
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 precedes version 4.
/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. 13.0. Copy this file to the XXX drive.  
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:


[[Image:Kls_demo_2.tar.bz2]] is a 45mb file which contains the sample content kls and other files  
[[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


There will now be a folder: kls. This folder contains a sample of the content which would normally be found on the school server.
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


[[File:xo-custom]] is a script which installs Learn from the bundle. It installs Firefox from the tar file on the XXX drive. It  modifies two files in Sugar: sugar-launch and SimpleHTTPServer.py. These changes have no effect on
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.
normal Sugar use. Finally it sets up the XO to start the localhost daemon at boot.


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.