Sugar Creation Kit/sck/SCK-2

From Sugar Labs
< Sugar Creation Kit
Revision as of 04:29, 14 June 2012 by Satellit (talk | contribs) (→‎Advanced Topics: delete nav bar in SCK-2)
Jump to navigation Jump to search


Warning.png
Under construction
This page is under active construction at this time. Please check back shortly for updated information.
- Test SCK Split-Updated June 13 2012

Test Sub-Pages to use for splitting this page

  • Comments appreciated; work in progress --Satellit 20:14, 11 June 2012 (EDT)
  • Plan is to Link to these pages and move relevant content from this page to them
Sugar_Creation_Kit/sck/Sugar-on-a-Stick
Sugar_Creation_Kit/sck/Sugar-in-Virtualization
Sugar_Creation_Kit/sck/References

Sugar Creation Kit DVD

Sugar Creation Kit.png

Download Mirabell.png
Caution, this is a large file, at 3.8 GB


A complete DVD containing all the resources required to create all 3 versions of Sugar-on-a-Stick without requiring Internet access.

Uses:

  • "sneakernet" or behind firewall at school.
  • save bandwidth on servers.
  • download once and distribute copies locally.

Sugar Labs

http://www.sugarlabs.org/
  • Main Sugar Labs introductory page

Get Sugar

Chat login with list of Channels and languages

Click this^ link to enter chat
Pida ayuda a través de este canal #sugar-es Por favor, sea cortés y hacer sus preguntas.
Los voluntarios no pueden estar en línea todo el tiempo.
Sea paciente y permanecer conectado durante varios minutos para ver su respuest 
(utilizar la función de meeting para la traducción de estos artículos)
  • Ask for help on these IRC channels by clicking on either of the above links (English or Spanish)
Please be courteous and ask your questions.
Volunteers may not be on line all of the time. Be patient and stay connected for several minutes to see their answer.
Read the Floss Manuals first!
Most answers can be found in them

Communication channels

Click this ^ link to access a page with all the means to communicate with Sugar Labs contributors and learners. It includes mailing lists, chat rooms, blogs, forums, Jabber networks, video, mail and telephone contacts.

Translator

the translation server for Sugarlabs
  • Google Translate
Translate text files english<==>spanish
http://translate.google.com/#auto%7Ces
GNUnited Nations (GNUN) is a build system for www.gnu.org translations.
It generates a PO template (.pot) for an original HTML article,
and merges the changes into all translations, which are maintained as PO (.po) files.
Finally, it regenerates the translations in HTML format.

World Time Converter

Tiny URL

What is my IP

Find your IP address

ON-LINE VERSION

An expanded and enhanced listing of Items Included in the SugarCreationKit DVD ver 1.2.3 (see Above)
NOTE: There are newer and additional items on this web page that are not in the SCK DVD.iso

CD.pngUse to Download the elements you need and burn to your own DVD to save Downloading all of the above SCK DVD.iso

Look Here Make your Own Sugar-Creation Kit.iso file to see how to then convert your customized DVD to an .iso
This will make sending it on the internet and duplication easy

Introduction to the Sugar Interface (tutorial)

Screenshot of f1 with frame showing.png

RECOMMENDED
  • Click on the following links to go to wiki pages of annotated screen-shots that cover these topics:
  • Note: The colored bars on the top and bottom of the following pages contain links to the next wiki page of the tutorial
- (This is not to be confused with the sugarlabs wiki page header)
Introduction to the Sugar Interface (tutorial)
Connecting to the Internet (tutorial)
Copying files with drag and drop (tutorial)
How to use the IRC Application (tutorial)
Annotated screen shots that show you how to use the IRC application (tutorial)
Communicate with other sugar users and developers on IRC (tutorial)
How to use the Chat application (tutorial)
Annotated screen shots that show you how to use the Chat application
A good example of collaboration on a shared activity via a jabber network
Send a file to friend from the Sugar-Journal (tutorial)
A nice way to sent a file to a friend
Backup-Restore_files_from_the_sugar-journal_with_a_2nd_USB-stick (tutorial)
Also works to Save/Retrieve individual files from the sugar-journal that have been copied to a 2nd USB-stick
VirtualBox.png How to Import a VirtualBox Appliance (tutorial)
with links to Virtual Appliances to download
VirtualBox.png VirtualBox Soas V-7 Install (tutorial)

Introducción a la interfaz de Azúcar (tutorial) Screenshot of f3 Drop-Down.png

Páginas wiki vinculado de Imágenes anotado que cubren estos temas
Introducción a la interfaz de Azúcar (tutorial)
Conexión a Internet (tutorial)
De arrastrar y soltar (tutorial)
Fotos de exportación
Importación / install <activity> archivo. Xo
Pantalla de captura de Screen capture
Cómo usar IRC
Tiros anotados de pantalla que muestran cómo utilizar la aplicación de IRC (tutorial)
Cómo usar Chat
Tiros anotados de pantalla que muestran cómo utilizar la aplicación de Chat (tutorial)
VirtualBox.png Cómo importar un aparato de VirtualBox (tutorial)
CD.png SCK-USB-MAC-Folder.iso (CD.iso)
108 MB
  • For MacBook Only - This Image contains the same content as SCK-USB (CD.iso) - Listed below
  • Details on how to use
Apple.gif Burning a CD from an .iso file on a Mac (tutorial)
Annotated screen-shots showing how to do it.
CD.png SCK-USB (CD.iso)
103 MB
  • This is an Archive of the Sugar Creation Kit - Most wiki pages were Downloaded on 12/30/2011
A set of Annotated screen shots as .html files with the accompanying folder containing the files for the .html
  • Intended to be used with no internet connection on the XO-1, XO-1.5, SoaS, and Trisquel-Sugar by students/teachers
  • Details on how to use

Sugar on a Stick - Project Page

Also located on left side of all Wiki pages under Projects
SoaS-Demo
slides (.pdf) from my presentation at SCaLE10X-(Caryl Bigenho)
New Sugarlabs Website - Mock Up
This is a mock up of SugarLabs New Website
Under Construction.
Sugar_manual
Another Nice wiki page introducing Sugar

F16 Sugar install from a booted Live CD/USB with liveinst (tutorial)

  • The Fedora-16-Live-SoaS.iso file is a 443 MB download.
Annotated Screen-shots of an install
  • Installs to 4 GB USB stick or VirtualBox 4 GB hard drive. (The procedure is adaptable for installation to a regular hard drive.)

F16 azúcar instalar desde una calzada Live CD / USB con liveinst (tutorial)

  • El archivo Fedora-16-en vivo-SoaS.iso es una descarga de 443 MB.
Anotado de fotografías en pantalla de una instalación
  • Se instala a 4 GB de memoria USB o VirtualBox 4 GB de disco duro. (El procedimiento es adaptable para la instalación de un disco duro normal.)

Installing and using liveusb-creator in sugar (tutorial)

  • Annotated screenshots from f16 SoaS
  • Make a booting persistent liveusb-stick from a fedora .iso file

f16 Sugar-Desktop Install with a netinstall CD (tutorial)

  • Requires a high speed internet connection.
Annotated Screen-shots of an Install
  • Install to a Hard Disk or USB-stick

Build a Persistent Boot USB-stick with tools_livecd-iso-to-disk script

  • In Linux terminal
  • 2 GB USB-stick or larger

Soas-quandong.svg Sugar-on-a-Stick (SoaS)

Click link ^ for details and Listing of all versions of SoaS with Download Links.

VirtualBox.pngSugar-in-Virtualization

  • How to use a CD/DVD or .iso file to install Sugar in Virtual Box; VMware Workstation/Player/QEMU.
  • List of VirtualBox preconfigured; importable appliances and how to use them.
These appliances are OS Agnostic:
They work in Windows/Linux/Mac Operating Systems.

References logo-collections-100x125.png

logo copied from: ASLO
  • Look here for expanded details on how to use Sugar
  • Manuals
  • On-Line Courses
  • Hardware
  • And other Topics

Gnulinux.png Community Distributions A Complete Listing

  • Linux distributions where sugar is available are listed below:
Fedora-small.jpg Fedora F13 SoaS, F14 SoaS, f15 SoaS-0.92.x; f16 SoaS-0.94.x; f17 Soas v7-sugar 0.95.4; How to install Sugar packages
Mate.png Mate-desktop_Soasv6 f16 SoaS installed to HD + Mate-Desktop
Trisquel icon.pngTrisquel Tris 4.0 (Ubuntu 10.04LTS); Tris 4.5 (Ubuntu 10.10); Tris 4.5.1-sugar(Ubuntu 10.10); Tris 5.0 and 5.0-Sugar (Ubuntu 11.04) Tris 5.5 (Ubuntu 11.10)
Mandriva-small.pngMandriva 2010.2 Mandriva Sugar 0.88.0
Mageia-2011.pngMageia-2-Beta 2 Sugar 0.95.1
Debian-small.jpgDebian Debian 6 Sugar 0.88.1; 0.86; 0.84
LMD-small.pngLinux Mint Debian Debian 6 Sugar 0.88.1
Caixa Mágica-small.jpgCaixa Mágica based on Mandriva 2010.1 repositories Sugar 0.88.0
Ubuntu-small.jpgLMD-small.pngUbuntu sweets sugar 0.88.1 or 0.94.1 (and Mint 11 & 12)
Suse-small.jpg openSUSE
Tuquito.png tuquito NEW Community Distribution based on Ubuntu 10.10
Fusion.png fusion linux Remix of fedora 16; Gnome 3.2.1-sugar 0.94.1
Soas-quandong.svg Sugar on a Stick (SoaS)   Download earlier SoaS versions
Usb1.png USB SoaS-v5 and SoaS-v6 .img files to write to USB with dd (PC and Mac)

Activities Activities

Click link ^ for more details

CD.png ASLOxo-6

Updated: Added new activities from the sugar-devel list up to: 01/21/2012
  • Use as an off-line "sneaker net"- Download one time and have an off-line library of Sugar-activities on hand.
  • Burn the .iso file to a DVD.
To View tests and compatibility of some of the included Activities (works off-line) on the included Activity_Matrix web page;
Open the Activity_Matrix.html file in the Activity_List Folder on the DVD with Firefox, or in Sugar Browse 129 or Surf 115.
Or.
Copy contents of DVD to a USB-stick and open the USB-stick Activity_Matrix.html file in Sugar Browse 129 or Surf 115. - (Browse 130 does not open it in f17)
Hint: Use search window (_______) on the top bar of USB-stick display that appears when you click on the USB-stick icon in the left bottom corner of the sugar screen.
look for Activity_Matrix.html use open with on the drop down box that appears when you hover over the Activity_Matrix.html file.
  • Suggestion: copy only the activity.xo files that you want to use from the DVD to a (fat 16/32) USB-stick; Insert it and use it to drag-drop install a custom suite of activities to Sugar.
Activities.xo files can be installed by drag-dropping them into the Sugar Journal from a mounted DVD or a USB to which they have been copied.
You can also install and open the activities by clicking on them.
Chapters on supporting both old and new toolbars in the same Activity plus using Pootle in MYOSA
Activity Testing
Alphabetical listing of activities.
NOTE This page has been split into 2 sections ^ Please refer to these links
Tested in Various XO-1; XO-1.5; SoaS and other Linux operating systems, in an editable tabular wiki page. show offered sharing Mesh key f1 small.png
  • Display activity version History:
Example: http://activities.sugarlabs.org//en-US/sugar/addons/versions/4401
Look up activity number with 'Most Recent-Activity Test Results linked above
Old Page:Activity Matrix ARCHIVE: No longer updated --Satellit 11:35, 17 February 2012 (EST)
Tested with a XO-1 - (os883 sugar 0.94.1) - Authored by Alan Jhonn Aguiar Schwyn
Tests on activities in repo: i686 and x86-64
Activity Development-f17
Tutorial :Activity_Team/Activity_Development_Fedora_17

Sugarlabs mainpage 07.pngFloss Manuals

(Important Manuals on how to use Sugar Applications and Features)

READ THESE FIRST!
(Local ARCHIVE of the.pdf files shown below:)
  • Source Links:
Introduction to Sugar http://en.flossmanuals.net/sugar
como-hacer-una-actividad-sugar
MakeYourOwnSugarActivities Internet Archive Publishing Quality
In PDF, EPUB, Kindle, Daisy, Full Text. DjVu formats
MakeYourOwnSugarActivities-es with corrected index
Introduction to the command line
What is Sugar http://people.sugarlabs.org/Tgillard/floss_manuals/What_is_Sugar_28Oct08.pdf
Browse http://people.sugarlabs.org/Tgillard/floss_manuals/Browse_06Sep08.pdf
Chat http://people.sugarlabs.org/Tgillard/floss_manuals/Chat_09Sep08.pdf
Collaboration http://people.sugarlabs.org/Tgillard/floss_manuals/Collaboration_31Jan10.pdf
SugarCollaboration http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration
FunWithTheJournal http://people.sugarlabs.org/Tgillard/floss_manuals/Fun_with_the_journal_09Nov10.pdf
Linux Command Line http://people.sugarlabs.org/Tgillard/floss_manuals/Linux-command-line_16Apr09.pdf
ActivitiesGuideSugar-English http://people.sugarlabs.org/Tgillard/floss_manuals/Activitys_Guide-sugar_en_09Nov10.pdf
Record http://people.sugarlabs.org/Tgillard/floss_manuals/Record_06Sep08.pdf
The Terminal http://people.sugarlabs.org/Tgillard/floss_manuals/Terminal_06Sep08.pdf
Turtle Art http://people.sugarlabs.org/Tgillard/floss_manuals/TurtleArt_06Sep08.pdf
Write http://people.sugarlabs.org/Tgillard/floss_manuals/Write_27Sep08.pdf
Reading_and_sugar: http://people.sugarlabs.org/Tgillard/floss_manuals/Reading_and_sugar_28Sep10.pdf
Text to Speech: http://people.sugarlabs.org/Tgillard/floss_manuals/Text_and_Speak_09Nov10.pdf
e-book resources:http://en.flossmanuals.net/e-book-enlightenment/

Open_Education_Resources

  • Open Education Resources (OERs) are digital replacements for textbooks available under some form of Free license, such as Creative Commons

Replacing_Textbooks - Booki

Replace textbooks
  • Booki
booki user guide
Blog
Booki importing-a-book
FLOSS Manuals WRITE

Khan Academy videos in OGV format

  • Only OGV format seems to work in Fedora-17-Beta-TC1-i686-Live-Desktop
  • Re: [IAEP] Khan academy content 04/05/2011
You can download around 1000 of the Khan Academy videos in OGV format
(playable on XO laptops) from Archive.org   Here's an English/Spanish
index of relevant categories
If you're skeptical or haven't seen his videos, his talk sparked a great
discussion about math education on Hacker News:
http://news.ycombinator.com/item?id=2307532 

For more recent videos, including YouTube, there's this media guide:
http://wiki.laptop.org/go/MediaGuide

Regards,
Nick Doiron

Online Free Courses

Adobe Flash
a proprietary player for Flash media
Flash Player
needed for firefox viewing of Khan academy lectures
Gnash
GNU Flash movie player and as a plugin to Browse is the default Flash player on the XO. It is the free software counterpart to the Adobe Flash player.
Flash Video Replacer


How to make your own custom Sugar-Creation_Kit.iso file
(How this DVD was converted to an .iso file)
    1. Collect, annotate and sort the files you want in a folder on your Desktop.
    2. Burn the contents of this folder to a CD or DVD.
    3. Use the following command in Terminal as the root user:
      dd if=/dev/sr0 of=Sugar-Creation-Kit.iso
/dev/sr0 is the device name for your DVD/CD drive
  • Sample output:
         dd if=/dev/sr0 of=Sugar-Creation-Kit.iso
         5555584+0 records in
         5555584+0 records out
         2844459008 bytes (2.8 GB) copied, 232.86 s, 12.2 MB/s
        
  • the resulting .iso file can be sent over the internet or used to make copies by burning to a DVD
copy items between a USB drive and sugar-journal (tutorial)
copy files between the sugar-journal and a 2nd USB-stick
install an <activity>.xo file from a 2nd USB-stick


The Undiscoverable

(The Undiscoverable Features of Sugar)
Features and tips not easily discovered about using Sugar

Graphic installers

Liveusb Creator
Instructions on how make a booting Live USB device
  • Windows, GNU/Linux, and Intel Mac's
  • f17 liveusb-creator-IMPORTANT
USE "liveusb-creator --reset-mbr from terminal
Or USB will not boot
  • Command line Use:
Usage: liveusb-creator [options]
Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -c, --console         Use console mode instead of the GUI
  -f DRIVE, --force=DRIVE
                        Force the use of a given drive
  -s, --safe            Use the "safe, slow and stupid" bootloader
  -n, --noverify        Skip checksum verification
  -v, --verbose         Output extra debugging messages
  -k ARGS, --extra-kernel-args=ARGS
                        Supply extra kernel arguments (eg: -k
                        noswap,selinux=0,elevator=noop)
  -x, --no-xo           Disable OLPC support
  -m, --reset-mbr       Reset the Master Boot Record
  -C, --device-checksum
                        Calculate the SHA1 of the device
  -L, --liveos-checksum
                        Calculate the SHA1 of the device
  -H HASH, --hash=HASH  Use a specific checksum algorithm (default: sha1)
Installing and using liveusb-creator in sugar (tutorial)
An easy method for Fedora and Windows, however this method does not generate a separate home.img filesystem to conserve the exhaustible OS overlay (see LiveOS image), nor does it copy the livecd-iso-to-disk installation script to the new device to permit generation of a new Live USB device from the first.
Note if graphical liveusb-creator program will not make a bootable USB-stick from an .iso file:
(This can happen if the stick is formatted to fat16 on another PC with a different Operating System.)
Use terminal command :
liveusb-creator --reset-mbr
USB-stick must be formatted: fat16/32; Labeled=LIVE; boot flag set.
(The LIVE label is only required when the device is to be used for a subsequent uncompressed installation to a hard disk.)
UNetbootin
Does not make persistent USB-sticks
LiLi USB Creator
For Windows 7, Vista, XP
GPL3
Makes a persistent USB from
Ubuntu, Fedora, Debian, OpenSUSE, Mint, Slax, CentOS, ArchLinux, Gentoo, PCLinuxOS, Sabayon, BackTrack, Puppy Linux ...
many-linux-tux
pendrivelinux
Make an Ubuntu Mac-Boot-stick on the Mac
"We would encourage Mac users to download Ubuntu Desktop Edition by burning a CD for the time being.
But if you would prefer to use a USB, please follow the instructions..." in the above link.

Expert install methods

tools_livecd-iso-to-disk
Also See Linux install script for live-iso-to disk
Technical Details
git-tools-livecd-iso-to-disk.sh
Use "dd" command
For ADVANCED USERS ONLY.
to make an install USB from a liveCD .iso file
Use (live).iso and terminal to make bootable USB
Use to install to HD or USB without needing a DVD/CD ROM
Building a bootable Mac EFI USB
Installing Fedora-17.TC5-x86_64-Live-Desktop
with a Mac using a --efi livecd-iso-to-disk loaded USB device
  • NOTE EFI DVD does not install a working HD. Boot stops at "Started Graphical Manager"
  • In f17 TC5 Desktop TC5x86_64 HD install:

-root terminal:

yum install livecd-tools
livecd-iso-to-disk --format --efi --reset-mbr Fedora-17.TC5-x86_64-Live-Desktop.iso /dev/sdb
  • MacBookPro i7 boot USB on MAC

-Hold "Option Key" down on power on until Blue Fedora EFI boot appears to right of Mac Disk -select it

"Try without installing"
Activities/Applications/ Disks (disk utility}:
  be sure all partitions on target disk are unmounted.
  |>  "triangle" indicates a mounted partition, select it and click on [] "square" for each one
  exit disks
Activities/Install to HD -on left panel of gnome
 use whole disk non LVM
 Congratulations
 Reboot
  • Boot Target 16 GB HD (Or external USB HD) on MAC

-Hold "Option Key" down on power on until Blue Fedora EFI boot appears to right of Mac Disk -select it

Firstboot
Logs in to USER via gdm
  • Testing:
  • disks (Disk Utility):
500 GB Hard Disk (Mac -not in use)
CD/DVD Drive /dev/sr0
16 GB Drive (Mounted)
TOSHIBA Transmemory
 Partition 1 177 Apple HFS/HFS+MB                /dev/sdb1                    /boot/efi
 Partition 2 528 MB Basic Data EXT4 (Version1.0) /dev/sdb2                    /boot
 Partition 3 9.1 GB Basic Data EXT4 (Version1.0) /dev/sdb2                    Filesystem root
 Swap        6.2 GB linux swap (Version 2)       /dev/sdb4
  • Disk Usage Analyzer
total filesystem capacity 9.8 GB (used 2.8 GB available 7.0 GB)
  • Shuts Down and reboots correctly from the target USB and saves settings
  • NOTE: Wireless does not work (missing firmware). Use wired Ethernet for connecton to internet

-This method should work for SoaS TC5 x86_64 also

Boot Helper CD's
  • MAC SoaS-3 Mirabelle Boot DISK
soas-3-boot-test.iso (Burn this to a CD and boot with it)
Read Me First & Credits to Programmer
  • MAC SoaS-4 Mango Lassi Boot DISK
soas-4-boot-test (Burn this to a CD and boot with it)
  • rEFIt
rEFIt
burn a bootable rEFIt CD on Mac OS X Used to Boot live USB's in a Mac
rEFIt is a boot menu and maintenance toolkit for EFI-based machines like the Intel Macs.
You can use it to boot multiple operating systems easily, including triple-boot setups with Boot Camp.
It also provides an easy way to enter and explore the EFI pre-boot environment.

smolt

Send hardware Profile

Backup and Restore

Sugar-journal
everything but the sugar-journal

Sugar on a Stick/Sugar Clone

customize or duplicate Live USB installations
(script files for making a customized Live USB installation self­-replicating)
Update: http://www.mail-archive.com/soas@lists.sugarlabs.org/msg02044.html
Rebuild/Refresh a custom SoaS iso from a running stick

Possible Use Cases

(from Wiki Page)

Curriculum packaging
  1. A teacher wants to prepare a SoaS image with a custom set of installed Activity bundles or a Journal of Activity instances for an upcoming class term.
  2. The teacher modifies their current working image by adding or deleting Activity bundles from their Home view and adding or removing Journal entries with specific content
   (such as a Physics model template or Etoys project), even saving distributable ebooks, or bookmarks in Browse Activity instances that are named for specific sets of local web destinations
   (a class portal perhaps for deployments lacking Internet connectivity).
  3. The teacher scrubs out any personal passwords or other history that should not be shared in the new copies.
  4. A fresh or recycled USB stick is inserted into the computer running the customized SoaS image and the SugarClone script is executed. 
Full image backup or sharing
  1. A Learner has modified their environment, perhaps adding Activity bundles and prepared specific instances such as a Activities/Physics simulation.
  2. Their modifications include changes to their operating system installed through yum or RPM to obtain some new core functionality.
  3. The Learner wants to archive or share this image with friends or for a backup.
  4. Personal or private information is scrubbed from the Journal or Browse history and other potential stores.
  5. The User creates one or more Sugar Clones. 

This method of backup has the advantage that it copies Learner changes to the core operating system as well as the Journal. A LiveOS image using a separate persistent home folder could be partially cloned with either the operating system overlay or home folder without the other should that be desired.

SoaS in Parallels for OSX

(experimental)


OLPC/Sugar as Webserver

copied from Inkyfingers
  • Open Terminal and type the following to install Boa (approx. 100k)
su -
yum -y install boa
  • Now put your index.html in /var/www
  • Find your Sugar Computer/XO's IP Address. Still as root user (having entered su- already), enter into Terminal:
ifconfig
  • Look next to eth0 for 192.168.whatever (for example)
  • Go to another machine on your LAN and type your Sugar Computer/XO's IP Address into your browser. There's your Sugar computer serving up a web page!

Build Your Own Remix with Fedora

Advanced - RECOMMENDED
Make your own Custom LIVE CD/DVD.iso with a customized kickstart file
http://trisquel.info/en/wiki/customizing-trisquel-iso
http://wiki.debian.org/DebianCustomCD
http://wiki.mandriva.com/en/Draklive
Ubuntu: https://help.ubuntu.com/community/LiveCDCustomizationFromScratch
Debian: http://wiki.debian.org/Simple-CDD

Advanced Topics

  • Including:
Sweets Distribution
Sugar Network
Box Grinder
Punji
Koji
Git
OLPC
ARM
PPC