Tux Paint

From OLPC
Revision as of 08:50, 30 December 2007 by Patrick.surry (talk | contribs)
Jump to: navigation, search
Tux Paint on the OLPC XO
view in full resolution to see screen detail

Tux Paint

Tux Paint is a drawing app for tiny kids. Most 3-year-old kids and many 2-year-old kids are able to use it, yet 10-year-old kids (and kid-like adults) enjoy it too. Tux Paint features Tux the penguin, like Clippy but not so annoying. Tux Paint uses stereo sound according to where the mouse pointer is. Tux Paint is translated into about 70 different languages, including big-alphabet and right-to-left ones.

PDS: IMHO this painting activity is much more fun & kid-friendly than the one that ships with the XO. Much easier to get started, choose colors, and lots of fun features like lots of stamps, great sound effects, magic wand and so on.

Installing (Expert)

Tux Paint must be installed as /usr/share/activities/TuxPaint.activity because of the way it was built. At the command line, you can use wget to download Tux Paint. Then unzip TuxPaint-1.xo in the /usr/share/activities directory as root. You will need to restart sugar; "telinit 3" followed by "telinit 5" will do this.

It is possible that SDL may need to be installed. Something like "yum install SDL_Mixer SDL_TTF SDL_Image" ought to do.

(PDS: On vanilla hardware, I found that SDL* was already installed but libpaper was missing; yum install libpaper fixed that)

Emulator users: TuxPaint runs at 1200x900 so looks slightly odd in qemu at 1024x768. CVS version of qemu or vmware may work better.

Installing (Novices)

  • Make sure you have an active internet connection
  • Open a terminal activity (you need to scroll right by clicking the arrow in the list of activities at the bottom of the frame; terminal's the one shown as a rectangle with a dollar sign in it)
  • Download the TuxPaint package by typing:
wget http://dev.laptop.org/~albert/TuxPaint-1.xo
  • Switch to 'root' user to do the installation by typing:
su
  • Install missing dependency 'libpaper' by typing (answer y if/when prompted):
yum install libpaper
  • Unpack the installation (may take a few minutes):
cd /usr/share/activities
unzip /home/olpc/TuxPaint-1.xo
  • Stop the terminal activity (press the 'X' at top-right) and then choose 'reboot' from the context menu that appears when you position the pointer over the avatar (icon of a child) at the center of the home screen.
  • Once it's started up again, you should find the TuxPaint icon (penguin holding a paintbrush) in the activity list at the bottom of the frame - you'll probably need to scroll right to see it)

URLs

Security needs

Tux Paint wants to print, scan /usr/share/fonts, and cooperate with a separate clip-art package.