Changes

Jump to navigation Jump to search
585 bytes added ,  17:44, 9 November 2012
Line 12: Line 12:  
Learn is a component of the Karma Learning System. When installed as a part of KLS, it is tightly integrated with the schoolserver. The primary design goal is to provide local copies of lessons as needed so that the student can use them when not connected to the school server.
 
Learn is a component of the Karma Learning System. When installed as a part of KLS, it is tightly integrated with the schoolserver. The primary design goal is to provide local copies of lessons as needed so that the student can use them when not connected to the school server.
   −
Version 51 enables evaluation of the activity independently of a schoolserver by using a USB removable drive.
+
Version 61 enables evaluation of the activity independently of a schoolserver by using a USB removable drive.
      Line 27: Line 27:  
,you should see /media/XXX (where XXX is the label of your removable drive).
 
,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  
+
On 12.0.1 and later releases use /run/media/olpc/XXX.
Sugar with the Gnome desktop, the version precedes version 4.
+
 
 +
Make sure the label XXX does not have spaces. A label such as /media/kls is fine. A label such as
 +
/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_1.tar.bz2]] is a 45mb file which contains the sample content for the Learn activity
+
[[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:
   −
[[File:Learn.sh]] is a script which installs Learn from the bundle.
+
tar -xvjf Kls_demo_2.tar.bz2
   −
[[File:Firefox.sh]] is a script which installs Firefox from the tar file on the XXX drive. It also
+
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:
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.
+
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 showntell-12.xo from the Activities.Sugarlabs.org. Copy this bundle to the xxx drive.
    
When this is done, the command: ls /media/XXX should show the following:
 
When this is done, the command: ls /media/XXX should show the following:
    
  firefox-*.tar.bz2
 
  firefox-*.tar.bz2
  Firefox.sh
+
  kls
  Kls_demo_1.tar.bz2
+
  Kls_demo_2.tar.bz2
  learn-51.xo
+
  learn-61.xo
  Learn.sh
+
  localhost.service
 +
rc.local
 +
readme
 +
showntell-12.xo
 +
SimplerHTTPServer.py
 +
sugar-launch
 +
xo-custom
   −
===Execute the install scripts===
+
===Execute the install script===
 
Now mount the XXX drive on the XO.
 
Now mount the XXX drive on the XO.
 
   
 
   
Line 60: Line 75:  
Enter the commands:
 
Enter the commands:
   −
  cd /media/XXX
+
  cd /media/XXX or cd /run/media/olpc/XXX
./Learn.sh
+
  bash xo-custom
  sudo ,/Firefox.sh
      
Upon completion of these commands, the script shuts down the XO.
 
Upon completion of these commands, the script shuts down the XO.
Line 81: Line 95:  
In 'Tabs', uncheck 'Always show the tab bar'. Students do not normally use tabs in Firefox.
 
In 'Tabs', uncheck 'Always show the tab bar'. Students do not normally use tabs in Firefox.
   −
Students are advised to set View to fullscreen. Fortunately current versions of Firefox start in fullscrren
+
Customize the navigation toolbar. Add the full-screen icon. Choose small icons. In a deployment without internet, the Google icon can be removed.
when shut down in that mode. There is apparently no way to specify that Firefox launch in full screen mode and, currently, there is no way to access F11 on the XO (even in Gnome desktop!).
+
 
 +
Students are advised to use fullscreen mode.
    
Firefox tries to refresh pages from a cache in memory. This can sometimes prevent changes in screens to be immediately visible. In this case, use alt+F5 to refresh the page from the source. Note: on the XO keyboard,  
 
Firefox tries to refresh pages from a cache in memory. This can sometimes prevent changes in screens to be immediately visible. In this case, use alt+F5 to refresh the page from the source. Note: on the XO keyboard,  
184

edits

Navigation menu