Sugar: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Develop: Added link to source repository.)
(Consistent punctuation for bullet points)
 
(75 intermediate revisions by 39 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{OLPC}}{{ Translations }}
{{OLPC}}

'''Development of Sugar takes place at [http://wiki.sugarlabs.org Sugar Labs].'''


<div style="float:right">
<div style="float:right">
__TOC__
__TOC__
</div>
</div>
Sugar is the core of the [[OLPC Human Interface Guidelines|OLPC Human Interface]]. Its goal is to turn the Laptop into a fun, easy to use, social experience that promotes sharing and learning.
Sugar is the core of the [http://wiki.sugarlabs.org/go/Human_Interface_Guidelines OLPC Human Interface]. Its goal is to turn the Laptop into a fun, easy to use, social experience that promotes sharing and learning.


[[Image:Sugar.png|350px|thumb|none|Sugar running on Fedora]]
[[Image:Sugar.png|350px|thumb|none|The Sugar Home view]]
[[Image:Neighborhood.jpg|200px]][[Image:Home.jpg|200px]][[Image:Web1200.png|200px]]
[[Image:Neighborhood.jpg|200px]][[Image:Home.jpg|200px]][[Image:Web1200.png|200px]]


==Getting started==
==Getting Sugar==
Sugar is available for [http://wiki.sugarlabs.org/go/Downloads/Landing_page many platforms]:
*[[:Category:Installing Sugar|Installing Sugar]] (on various platforms)
*[[Sugar Instructions]], booting and getting started with Sugar


; on the [[XO]] laptop
==Develop==
: If you have an XO, it's running Sugar. Read [[Updating the XO]] to update to the latest version.


; as [[OS images]]
* [http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/ Building the XO: Introducing Sugar - Red Hat Magazine 2007-02-23]
: You can install or upgrade an XO to a new OS image. You can also run a Sugar image using [[:Category:Emulation|emulation]] on almost any operating system, including Windows.
* [[Sugar_with_sugar-jhbuild|Build]] from sources, and [[Sugar Instructions|get started]].
* Read the human interaction [[HIG|guidelines]]
* Get an overview of the [[Sugar Architecture|architecture]]
* [[Sugar_Activity_Tutorial|Write]] your own activity
* Check out the [[Sugar_Code_Snippets|code snippets]] library
* [[Understanding sugar code]] organization.
* See a list of Sugar [[Activities|activities]] and specifications.
* [http://dev.laptop.org/git.do?p=sugar;a=tree Sugar source]


; as a bootable CD and USB stick
==Contribute==
: You can download a [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick Sugar on a Stick] image file and burn it to a CD, and then boot and run it on almost any x86 PC, including x86 Macintosh.


; as packages for common Linux distributions
* Subscribe to the [http://mailman.laptop.org/mailman/listinfo/sugar mailing list] (here are [http://lists.laptop.org/pipermail/sugar/ its archives])
: You can install Sugar as an alternative desktop on several [http://wiki.sugarlabs.org/go/Community/Distributions Linux Distributions].
* Join the [irc://irc.freenode.net/sugar irc channel]
* Give sugar some [http://dev.laptop.org/query?status=new&status=assigned&status=reopened&keywords=%7Esugar-love&order=priority love]!
* Test and report [http://dev.laptop.org/newticket issues]


; as runnable source code for developers on Linux
== Get Sugar ==
: Developers on Linux can install from the latest source code using [http://wiki.sugarlabs.org/go/Jhbuild Jhbuild].
Get Sugar~ try Sugar out, via [[Emulating the XO|emulator]] or [[LiveCd|Live CD]], on your favorite machines. Take a picture of your desktop or laptop running [[sugar]], and leave a thumbnail and note below about what build you used and how it worked. We have new LiveCD images coming out this week.


=== On the PS3 ===
==Getting started==
Sugar is able to run on a PS3. It can be run using the qemu emulator. Here are some directions for one way of doing this:


You can explore the Sugar interface at the [http://en.flossmanuals.net/sugar/ Sugar manual], or in our [http://laptop.org/8.2.0/manual/ Getting Started guide].
1. Install [[ydl]] linux for PS3


Note the "Frame key" [[Image:Key_frame.jpg|40px]] at the top-right corner of your [http://laptop.org/en/laptop/start/keyboard.shtml keyboard],
2. Log on to ydl as root user
which toggles the presence of the Frame on and off the screen. (The Frame
is the black border around the screen that holds the activity taskbar,
clipboard, buddy list, etc.)


You can restart Sugar by pressing the Ctrl-Alt-Erase* keys simultaneously.
3. Install [[yum]] (helps install other linux software)


*(the XO laptop doesn't have a typewriter-esque "Backspace" key, but rather a "Erase" key... which is great for erasing things!)
4. Download [[qemu]]


==Develop==
5. Download [http://users.xplornet.com/~ooley/therepos.zip therepos here]


Developers, once you've installed Sugar, you can go on to develop for the environment.
6. Unzip therepos.zip

===Exploring Sugar===
* [http://www.redhatmagazine.com/2007/02/23/building-the-xo-introducing-sugar/ Building the XO: Introducing Sugar - Red Hat Magazine 2007-02-23]
* [[Sugar_with_sugar-jhbuild|Build]] from sources
* Read the human interface [http://wiki.sugarlabs.org/go/Human_Interface_Guidelines guidelines]
* Get an overview of the [[Sugar Architecture|architecture]]
* [[Sugar_Activity_Tutorial|Write]] your own activity
* Check out the library of [[Sugar Code Snippets]]
* [[Understanding Sugar code]] organization
* See a list of Sugar [[Activities|activities]] and specifications
* [http://git.sugarlabs.org/ Sugar source repository]
* [http://bugs.sugarlabs.org The Sugar bug tracker]
* [http://wiki.sugarlabs.org/go/Development_Team Development Team page]


=== Learning More ===
7. Access yum folder (yum.repos.d)
*[http://www.flossmanuals.net/make-your-own-sugar-activities/ Make your own Sugar activities], ''A published tutorial on developing Sugar activities''
*[[Creating an Activity]], ''General information about how to create an activity''
*[[Activity tutorial]], ''Technical information about how to create an activity''
*[[Activity bundles]], ''Technical information abot how to package an activity''
*[[Sugar Activity Builder]], ''General Script to make a Sugar's activity skeleton''
*[[Hacking Sugar]], ''Tips and tricks''


===Contribute===
8. Copy unzipped files to yum.repos.d


9. Follow the linux [http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start emulation instructions]
* Go to our [http://wiki.sugarlabs.org/go/Sugar_Labs/Getting_Involved Getting Involved] page.
* Subscribe to the [http://lists.sugarlabs.org/listinfo/sugar-devel mailing list] (here are [http://lists.sugarlabs.org/pipermail/sugar-devel/ its archives])
* Join the [irc://irc.freenode.net/sugar IRC channel]
* Give Sugar some [http://bugs.sugarlabs.org/query?status=new&status=assigned&status=reopened&order=priority love]!
* Test and report [http://bugs.sugarlabs.org/newticket issues]


[[Category:Sugar]]
[[Category:Sugar]]
[[Category:Developers]]
[[Category:Developers]]
[[Category:Subsystems]]

Latest revision as of 10:22, 30 October 2012


  This page is monitored by the OLPC team.

Development of Sugar takes place at Sugar Labs.

Sugar is the core of the OLPC Human Interface. Its goal is to turn the Laptop into a fun, easy to use, social experience that promotes sharing and learning.

The Sugar Home view

Neighborhood.jpgHome.jpgWeb1200.png

Getting Sugar

Sugar is available for many platforms:

on the XO laptop
If you have an XO, it's running Sugar. Read Updating the XO to update to the latest version.
as OS images
You can install or upgrade an XO to a new OS image. You can also run a Sugar image using emulation on almost any operating system, including Windows.
as a bootable CD and USB stick
You can download a Sugar on a Stick image file and burn it to a CD, and then boot and run it on almost any x86 PC, including x86 Macintosh.
as packages for common Linux distributions
You can install Sugar as an alternative desktop on several Linux Distributions.
as runnable source code for developers on Linux
Developers on Linux can install from the latest source code using Jhbuild.

Getting started

You can explore the Sugar interface at the Sugar manual, or in our Getting Started guide.

Note the "Frame key" Key frame.jpg at the top-right corner of your keyboard, which toggles the presence of the Frame on and off the screen. (The Frame is the black border around the screen that holds the activity taskbar, clipboard, buddy list, etc.)

You can restart Sugar by pressing the Ctrl-Alt-Erase* keys simultaneously.

  • (the XO laptop doesn't have a typewriter-esque "Backspace" key, but rather a "Erase" key... which is great for erasing things!)

Develop

Developers, once you've installed Sugar, you can go on to develop for the environment.

Exploring Sugar

Learning More

Contribute