Monday, March 21, 2011

Broadcasting your screen to XO laptops

The Activity Turtle Art can be used to broadcast an OLPC XO laptop's screen to other laptops.

In a shared session, images are reproduced on all laptops from TurtleArt V106. Enter the following code in Pippy and save:

Run the following code on the sending XO laptop in Turtle Art, click the Python block to load the Python code:

The Media block points to the screenshot image

["journal", "/home/olpc/Activities/TurtleArt.activity/screenshot.png"]

Either use this TurtleArt file , hand edit the Media block in a word processor or first run Turtle Art in Gnome (which has a file chooser instead of a journal object chooser) to set the Media block to the screenshot image.

All other laptops in the shared session will receive a screenshot every 5 seconds of the sending laptop's screen, whatever it is showing (but not the mouse cursor). Below the received image of the sending laptop's home view.

The image size and the sending interval are adjustable on the sending laptop with draggable blocks, experiment for the best results on your network.

Programming challenges:
  • Add a mouse cursor
  • break the image up into tiles and only transmit changed tiles

Labels: , , , , ,


Blogger Guzm├ín Trinidad said...

Very good idea!. Could be very useful for working in groups to replace the overhead projector. I will try to get another XO1 to try as soon as possible. Thank you very much for sharing this idea.
Greetings, Guzman.

Thursday, March 24, 2011 3:31:00 AM  

Post a Comment

<< Home