Difference between revisions of "Raspbian"

From Sugar Labs
Jump to navigation Jump to search
(remove duplication, raspbian is debian as far as sugar is concerned)
 
Line 1: Line 1:
 
Raspbian is a derivative of [[Debian]] for the Raspberry Pi.
 
Raspbian is a derivative of [[Debian]] for the Raspberry Pi.
  
In relation to Sugar, Raspbian is a downstream distribution project that can be used to run Sugar.  
+
In relation to Sugar, Raspbian is a downstream distribution project that can be used to run Sugar.
  
== Using Sugar 0.110 on Raspbian ==
+
See [[Debian]] for how to use Sugar on Raspbian.
 
 
To use Sugar in Raspbian is almost the same as using it in [[Debian]]:
 
 
 
* install Raspbian ''Jessie'' in the usual way,
 
* change <tt>/etc/apt/sources.list</tt> to use the ''Stretch'' testing release,
 
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
 
* update the package lists,
 
sudo apt update
 
* upgrade all packages,
 
sudo apt dist-upgrade,
 
* install Sugar,
 
sudo apt install sucrose
 
* log out,
 
* log in with the Sugar desktop selected.
 
<!-- last tested with 2016-11-25-raspbian-jessie.zip on 28th December 2016 -->
 
 
 
== Pre-built Images ==
 
 
 
There are no pre-built images for Raspbian with Sugar.
 
 
 
However, Raspbian is based on Debian, and builds of Debian for Raspberry Pi can be made, see [[Debian/Raspberry Pi]].
 
 
 
== Using Sugar Activities without Sugar Desktop ==
 
 
 
Debian packaging of Sugar Activities adds them to the Education menu, so they can be used from desktops other than Sugar.
 
 
 
== Using Sugar on a headless Raspberry Pi ==
 
 
 
You have a Raspberry Pi but you've run out of keyboards, mice, and HDMI displays.  Use the 'net.
 
 
 
On the Raspberry Pi:
 
sudo apt install xrdp
 
adduser guest
 
echo sugar >> /home/guest/.xsession
 
 
 
On your other computer:
 
rdesktop -g 1200x900 -u guest -p guest IP
 
 
 
See [https://www.element14.com/community/docs/DOC-78170/l/connecting-to-a-remote-desktop-on-the-raspberry-pi Connecting to a remote desktop on the Raspberry Pi].
 
  
 
== Turtle Art/Blocks ==
 
== Turtle Art/Blocks ==

Latest revision as of 00:43, 14 February 2018

Raspbian is a derivative of Debian for the Raspberry Pi.

In relation to Sugar, Raspbian is a downstream distribution project that can be used to run Sugar.

See Debian for how to use Sugar on Raspbian.

Turtle Art/Blocks

You can download Activities/Turtle Art and use it on the normal desktop. You can either download it through the package manager (and get version 98):

   sudo apt-get install sugar-turtleart-activity

Turtle art will be added to the Education section of the apps menu.

Or you could get the latest version using git:

   git clone https://github.com/sugarlabs/activity-turtleart-gtk2.git turtleart
   cd turtleart

And use the following to start Turtle Art:

   python turtleblocks.py

NOTE: you may encounter an error related to the summary field in the activity.info. If so, open the activity/activity.info file and move the summary field from the bottom of the file, to being the line below the title field

Sugarizer

Sugarizer is a HTML5 version of Sugar. It has a basic journal and full web activity support.

You can configure Sugarizer to auto-start by setting your ~/.xinitrc to:

   epiphany server.sugarizer.org

(Note: there are a few issues with the browser icons... but sugarizer works well)

Alternatively, you can download the Sugarizer client zip and have it locally on your pi.