No subject


Mon Mar 15 02:42:15 EDT 2010


I downloaded Sugar on a Stick and ran it on my computer -- however, the
project I'm working with is about the Calculate activity. I found how to
download the Calculate activity from your Activities page, however I don't
know how to take that downloaded activity and incorporate it into my USB
device/environment. So my question is: How can I take a downloaded activity
and use it with Sugar on a Stick?

There are a number of ways to install new Activities into Sugar:

   1. Using the Browse Activity in Sugar, navigate to the *Sugar Activity
   Library* (http://activities.sugarlabs.org), find the Activity you want
   and click the 'Download Now' button. In Sugar, you should see an alert that
   counts down the transfer. Once the download is saved, a new alert offers to
   show the new Activity in your Journal. Clicking the 'Show in Journal' button
   will take you to a detail view of the <ActivityName>.xo entry. Clicking the
   icon at the top left of this view will launch the Activity. The Home view
   favorites and Journal will show the new Activity installed.
   2. If the Activity is downloaded to another computer, the downloaded
   activity is contained in the <ActivityName>.xo file that is saved on the
   computer that did the download. If you have another USB device, copy that
   file to the root folder, "/", at the base of your USB device. Then boot
   Sugar on a Stick and go to the Journal. When the second USB device is
   inserted, it should appear in the bottom bar of the Journal. Clicking on the
   USB device icon will show its contents. Drag the <ActivityName>.xo file to
   the Journal icon at the far left of the bottom bar. Then click on the
   Journal icon and the <ActivityName>.xo entry will display at the top of the
   Journal. Click the icon for <ActivityName> and it will launch.
   3. If the downloaded <ActivityName>.xo file is copied to the SoaS USB
   device, and that device is booted into Sugar, one may use the Terminal
   activity to unzip the file into the /home/liveuser/Activities folder using
   these commands: cd /home/liveuser/Activities/ (The /home/liveuser/ path
   may be substituted with /home/olpc/ on an XO.) unzip
   /mnt/live/<ActivityName>.xo (The /mnt/live/path-to-.xo may be substituted
   with an accessible <ActivityName>.xo path.) The Activity will appear in
   the Home view favorites, and after it has been launched, it will appear in
   the Journa


This is a good candidate for the FAQ,
http://wiki.sugarlabs.org/go/Sugar_Labs/FAQ#Activities, once the community
has had a chance to refine the text.

--00504502ccca6eb9d4048fc2c509
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>From a new question on the wiki:</div><font face=3D"trebuchet ms,sans-=
serif"><a href=3D"http://wiki.sugarlabs.org/go/Sugar_help#on_Sugar_activiti=
es">http://wiki.sugarlabs.org/go/Sugar_help#on_Sugar_activities</a></font><=
div>

<br></div><div><font class=3D"Apple-style-span" face=3D"sans-serif"><span c=
lass=3D"Apple-style-span" style=3D"line-height: 19px;">I downloaded Sugar o=
n a Stick and ran it on my computer -- however, the project I&#39;m working=
 with is about the Calculate activity. I found how to download the Calculat=
e activity from your Activities page, however I don&#39;t know how to take =
that downloaded activity and incorporate it into my USB device/environment.=
 So my question is: How can I take a downloaded activity and use it with Su=
gar on a Stick?</span></font></div>

<div><font class=3D"Apple-style-span" face=3D"sans-serif"><span class=3D"Ap=
ple-style-span" style=3D"line-height: 19px;"><br></span></font><dl style=3D=
"margin-top: 0.2em; margin-bottom: 0.5em; "><dd style=3D"margin-left: 2em; =
margin-bottom: 0.1em; ">

<font class=3D"Apple-style-span" face=3D"sans-serif"><span class=3D"Apple-s=
tyle-span" style=3D"line-height: 1.5em;">There are a number of ways to inst=
all new Activities into Sugar:</span></font><ol style=3D"line-height: 1.5em=
; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0px; margin-left: 3.=
2em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-lef=
t: 0px; list-style-image: none; font-family: sans-serif; font-size: 13px; "=
>

<li style=3D"margin-bottom: 0.1em; ">Using the Browse Activity in Sugar, na=
vigate to the=A0<b>Sugar Activity Library</b>=A0(<a href=3D"http://activiti=
es.sugarlabs.org/" class=3D"external free" rel=3D"nofollow" style=3D"text-d=
ecoration: none; color: rgb(51, 102, 187); background-image: url(http://wik=
i.sugarlabs.org/skins/vector/images/external-link-ltr-icon.png); background=
-attachment: initial; background-origin: initial; background-clip: initial;=
 background-color: initial; border-bottom-width: 1px; border-bottom-style: =
dotted; border-bottom-color: rgb(211, 211, 211); padding-top: 0px; padding-=
right: 13px; padding-bottom: 0px; padding-left: 0px; background-position: 1=
00% 50%; background-repeat: no-repeat no-repeat; ">http://activities.sugarl=
abs.org</a>), find the Activity you want and click the &#39;Download Now&#3=
9; button. In Sugar, you should see an alert that counts down the transfer.=
 Once the download is saved, a new alert offers to show the new Activity in=
 your Journal. Clicking the &#39;Show in Journal&#39; button will take you =
to a detail view of the &lt;ActivityName&gt;.xo entry. Clicking the icon at=
 the top left of this view will launch the Activity. The Home view favorite=
s and Journal will show the new Activity installed.</li>

<li style=3D"margin-bottom: 0.1em; ">If the Activity is downloaded to anoth=
er computer, the downloaded activity is contained in the &lt;ActivityName&g=
t;.xo file that is saved on the computer that did the download. If you have=
 another USB device, copy that file to the root folder, &quot;/&quot;, at t=
he base of your USB device. Then boot Sugar on a Stick and go to the Journa=
l. When the second USB device is inserted, it should appear in the bottom b=
ar of the Journal. Clicking on the USB device icon will show its contents. =
Drag the &lt;ActivityName&gt;.xo file to the Journal icon at the far left o=
f the bottom bar. Then click on the Journal icon and the &lt;ActivityName&g=
t;.xo entry will display at the top of the Journal. Click the icon for &lt;=
ActivityName&gt; and it will launch.</li>

<li style=3D"margin-bottom: 0.1em; ">If the downloaded &lt;ActivityName&gt;=
.xo file is copied to the SoaS USB device, and that device is booted into S=
ugar, one may use the Terminal activity to unzip the file into the /home/li=
veuser/Activities folder using these commands:<dl style=3D"margin-top: 0.2e=
m; margin-bottom: 0.5em; ">

<dd style=3D"line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; ">=
<code style=3D"background-color: rgb(249, 249, 249); font-size: 12px; line-=
height: 1.26em; overflow-x: auto; overflow-y: auto; ">cd /home/liveuser/Act=
ivities/</code><dl style=3D"margin-top: 0.2em; margin-bottom: 0.5em; ">

<dd style=3D"line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; ">=
<small>(The /home/liveuser/ path may be substituted with /home/olpc/ on an =
XO.)</small></dd></dl></dd><dd style=3D"line-height: 1.5em; margin-left: 2e=
m; margin-bottom: 0.1em; ">

<code style=3D"background-color: rgb(249, 249, 249); font-size: 12px; line-=
height: 1.26em; overflow-x: auto; overflow-y: auto; ">unzip /mnt/live/&lt;A=
ctivityName&gt;.xo</code><dl style=3D"margin-top: 0.2em; margin-bottom: 0.5=
em; ">

<dd style=3D"line-height: 1.5em; margin-left: 2em; margin-bottom: 0.1em; ">=
<small>(The /mnt/live/path-to-.xo may be substituted with an accessible &lt=
;ActivityName&gt;.xo path.)</small></dd></dl></dd><dd style=3D"line-height:=
 1.5em; margin-left: 2em; margin-bottom: 0.1em; ">

The Activity will appear in the Home view favorites, and after it has been =
launched, it will appear in the Journa</dd></dl></li></ol></dd><dd style=3D=
"margin-left: 2em; margin-bottom: 0.1em; "><font class=3D"Apple-style-span"=
 face=3D"sans-serif"><span class=3D"Apple-style-span" style=3D"line-height:=
 19px;"><br>

</span></font></dd><dd style=3D"margin-left: 2em; margin-bottom: 0.1em; "><=
font class=3D"Apple-style-span" face=3D"sans-serif"><span class=3D"Apple-st=
yle-span" style=3D"line-height: 19px;">This is a good candidate for the FAQ=
,=A0</span></font><a href=3D"http://wiki.sugarlabs.org/go/Sugar_Labs/FAQ#Ac=
tivities">http://wiki.sugarlabs.org/go/Sugar_Labs/FAQ#Activities</a>, once =
the community has had a chance to refine the text.</dd>

</dl></div>

--00504502ccca6eb9d4048fc2c509--


More information about the SoaS mailing list