Sugar: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Consistent punctuation for bullet points)
 
(188 intermediate revisions by 66 users not shown)
Line 1: Line 1:
__NOTOC__
{{OLPC}}
{{OLPC}}


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


<div style="float:right">
Sugar is the core of the [[OLPC Python Environment]]. It's goal is to turn the Laptop into a fun, easy to use, social experience that promotes sharing and learning.
__TOC__
</div>
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 Core]]
[[Image:Sugar.png|350px|thumb|none|The Sugar Home view]]
[[Image:Neighborhood.jpg|200px]][[Image:Home.jpg|200px]][[Image:Web1200.png|200px]]


==Download==
==Getting Sugar==
Sugar is available for [http://wiki.sugarlabs.org/go/Downloads/Landing_page many platforms]:


; on the [[XO]] laptop
Sugar is currently under heavy development.
: If you have an XO, it's running Sugar. Read [[Updating the XO]] to update to the latest version.


; as [[OS images]]
=== Source repositories ===
: 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.


; as a bootable CD and USB stick
* [http://dev.laptop.org/git.do?p=sugar;a=summary Sugar source repository]
: 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.
* [http://dev.laptop.org/git.do?p=artwork;a=summary Artwork source repository]


; as packages for common Linux distributions
=== Build from sources ===
: You can install Sugar as an alternative desktop on several [http://wiki.sugarlabs.org/go/Community/Distributions Linux Distributions].


; as runnable source code for developers on Linux
Sugar is composed of a few modules, and depends on xulrunner, which is not yet packaged by distributions. The easier way to build it from sources is to use jhbuild,
: Developers on Linux can install from the latest source code using [http://wiki.sugarlabs.org/go/Jhbuild Jhbuild].


==Getting started==
* Check out jhbuild from GNOME cvs
$ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
Logging in to :pserver:anonymous@anoncvs.gnome.org:2401/cvs/gnome
CVS password: <press enter>
$ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome checkout jhbuild
* Install jhbuild
$ cd jhbuild
$ make
$ make install
* Create a .jhbuildrc file in your home directoy. Use [http://gnome.org/~marco/sugar.jhbuildrc sugar.jhbuildrc] as a template
* Build sugar and his dependencies
jhbuild -m http://gnome.org/~marco/sugar.modules build sugar
* Run sugar
jhbuild run sugar


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].
=== Distribution specific ===


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],
* Suse instructions can be found at [[Sugar Setup on SUSE]]
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.
==Milestones==


*(the XO laptop doesn't have a typewriter-esque "Backspace" key, but rather a "Erase" key... which is great for erasing things!)
* [[SugarDemo1|Demo #1: to-do list]] - Target: Seven Country Task Force Meeting, May 23rd 2006 (COMPLETE)
* [[SugarDesignReview2|Design Review #2: Notes & Mockups]]
* [[SugarDemo2|Demo #2: to-do list]] - Target: [http://guadec.org GUADEC], June 24th 2006


==External Links==
==Develop==


Developers, once you've installed Sugar, you can go on to develop for the environment.
* Screenshots here: http://www.eschoolnews.com/eti/2006/05/001414.php
* Some notes on Sugar: http://www.0xdeadbeef.com/weblog/?p=200
* Notes on [[Sugar and Maemo]] project similarities
* Marc Eisenstadt's [http://kmi.open.ac.uk/people/marc/2006/06/09/100-laptop-bakes-in-im-presence/ comments] on the environment with some links to other similar projects.
* UI mockups for the OLPC are found [http://people.redhat.com/dfong/olpc/ here].


===Exploring Sugar===
[[Category: Developers]]
* [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 ===
*[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===

* 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: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