Tuesday, April 15, 2008

Sending webpages to the OLPC

Ok, this little script is rather minimalistic. Every now and then I visit a longer webpage and want to read it on the OLPC instead of my good old CRT, trouble is: How to be get the URL onto the OLPC with minimal effort? With Opera at least there is an easy solution:

#!/bin/sh

ssh olpc@192.168.1.100 "DISPLAY=:0 opera -newpage \"$1\""

# EOF #

This little script will take the URL and send it to an Opera running on the OLPC. You use it like:

% olpc-send http://grumbel.blogspot.com

And the page will magically appear on your OLPC. The script works best if Opera is already running on the OLPC.

No comments: