Activities/Learn: Difference between revisions

Tony37 (talk | contribs)
No edit summary
Tony37 (talk | contribs)
Line 15: Line 15:




==Setup and installation using a removable drive==
==Installation==
 
===Prepare a removable drive===
   
   
In the following XXX represents the label on the removable drive. If you run the Terminal activity and  
The removable drive can be a usb flash drive or an SD card.
enter the command: ls /media, you will see /media/XXX.
 
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, it is an earlier version.  
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:Firefox.sh]] is a script which installs Firefox from the tar file on the XXX drive.
[[File:Learn.sh]] is a script which installs Learn from the bundle.
[[File:Learn.sh]] is a script which installs Learn from the bundle.


Using two scripts simplifies the install process.
[[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===