Epaath

From OLPC
Revision as of 08:59, 19 December 2009 by Sj (talk | contribs) (merging)
Jump to navigation Jump to search

merging from other Nepal Etoys and Epaath pages 08:54, 19 December 2009 (UTC)

About Epaath

The set of (open source) activities being developed by OLE Nepal are included in the NEXO builds. The set of Etoys activities are called Epaath (see [[OLE Nepal Etoys for a brief explanation). You can get the latest release on dev.laptop.org by clicking this link.

Help test these activities by logging bug reports and suggesting feature enhancements in the Nepal-specific online bug-tracking system.

The Nepal community is working hard on their growing pilot program, and need all the help that we can get. If you want to help out, please see the open issues on this wiki or contact the Nepal team directly.

These activities used to be called E-Paati but the kids started calling the XO itself E-Paati so we had to change the name to Epaath, which means 'E-lesson'.


Using Epaath

Downloading and customization

We have augmented the standard Etoys image a bit so it satisfies some of our specific needs. Instructions on how to make a fully fledged Epaath image is described on the Epaath image customization page.

Instructions on how to load individual Epaath activities from a remote or local server are described below.


Loading Epaath activities from a browser

To load Epaath activities from within a browser on Linux, one needs to do the following things:

- On a non-XO machine, download the Squeak browser plugin from Squeakland

- Get a copy of E-Paath.

- For now, patch your Etoys image with this patch. Save the Image.

as root:
- link the Epaath Squeak image to /usr/lib/squeak/SqueakPlugin.image. Take away or relocate the current SqueakPlugin.image in that location, if it happens to be present.

- If on an XO, replace the squeak-in-browser startup script /usr/lib/squeak/npsqueakrun with this custom script.

- Link the squeak plugin to your browsers plugin directory.
If you've downloaded and installed the plugin on a regular fedora machine, you don't have to do anything.
On the XO, link /usr/lib/squeak/npsqueakrun to the dir /usr/lib/mozilla/plugins
On Ubuntu with Firefox 2, link /usr/lib/squeak/npsqueakrun to the dir /usr/lib/firefox/plugins
On Ubuntu with Firefox 3, link /usr/lib/squeak/npsqueakrun to the dir /usr/lib/firefox-addons/plugins
Other distributions, unknown, but should be somewhat the same as one of the previous.

And now of course restart your browser.

- Then surf to a page with the activity embedded in it.


If you need to embed an activity yourself, this is the code for it:

      <embed
		type="application/x-Squeak-Source"
		ALIGN="CENTER"
		src="test.001.pr"
		showSplash="false"
		flaps="none"
		base="example.org/"
		pluginspage="http://www.squeakland.org/plugin/detect/detectinstaller.html"
        width="100%"
        height="100%"> </embed>

As you might guess, this implies you've got a webserver running which can service http://example.org/test.001.pr

That's it!


Tips and tricks

Epaath is usually either in author mode or in user mode. If in user mode, the image can be unlocked by pressing ALT-SHIFT-w, selecting OLE, and then selecting author mode.

To go from author mode to user mode, just press left-click on the world, and select OLE -> usermode.