Changes

2,039 bytes added ,  19:06, 1 December 2011
Created page with "One or two ideas collected for testing for tutorial. === OLPC/Sugar as Webserver === *Open Terminal and type the following to install Boa (approx. 100k) su - yum -y install ..."
One or two ideas collected for testing for tutorial.

=== OLPC/Sugar as Webserver ===

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

===Taking Screen Shots===

To take a screen shot, typing Alt+1 at the same time will take one and store it in your journal.

====Changing the "XO Guy"====
To change the XO Guy, the symbol in the middle of the Home view (with applications opening around him/her), you have to follow a few steps:

*'''Create An Icon''' - You first have to make an icon image and save it as an SVG (Scalable Vector Graphics) file with the name computer-xo.svg. Probably on your Mac or Windows machine. There are instructions on how to do this [http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar on the OLPC wiki].
*'''Transfer It To Your Computer''' - Copy computer-xo.svg to a USB or SD card and plug it into your OLPC or computer.
*'''Install it''' - Open Terminal and type the following commands to back-up the original icon and copy your new icon into the correct location:

su -l
cp /usr/share/icons/sugar/scalable/device/computer-xo.svg /usr/share/icons/sugar/scalable/device/computer-xo.svg.bak
cp /media/<your usb or sd>/computer-xo.svg /usr/share/icons/sugar/scalable/device/computer-xo.svg

*Now close terminal and press Ctrl,Alt,Erase.


'''Restoring Icon To Original'''

To restore computer-xo.svg back to the original, open terminal and type:

su -l
cp /usr/share/icons/sugar/scalable/device/computer-xo.svg.bak /usr/share/icons/sugar/scalable/device/computer-xo.svg
rm /usr/share/icons/sugar/scalable/device/computer-xo.svg.bak

Source: http://olpcnews.com/forum/index.php?topic=2157.0
687

edits