User:Dov

From OLPC
Revision as of 10:53, 7 March 2008 by Dov (talk | contribs)
Jump to navigation Jump to search

--- Dov 2008-01-25 13:38

I'm an hobbyist open source developer from Israel with lots of experience in C/C++, Gtk and Internationalization. Last week I received my OLPC that I bought through a friend in the US. I'm not sure exactly what I will be doing with it, but right now I'm just enjoying playing around with it with python/gtk+ and C/C++/gtk.

Also see my olpc page(s) at:

http://imagic.weizmann.ac.il/~dov/olpc/index.html

Work in progress

Turning autorepeat back on

Put the following in a script and run it to turn on autorepeat on all keyboard keys:

#!/bin/sh
xset r 9 r 220 \
     r 67 r 68 r 69 r 70 r 71 r 72 r 73 r 74 r 75 r 95 r 96 r 224 r 147\
     r 49 r 10 r 11 r 12 r 13 r 14 r 15 r 16 r 17 r 18 r 19 r 20 r 21\
     r 23 r 24 r 25 r 26 r 27 r 28 r 29 r 30 r 31 r 32 r 33 r 35 r 36\
     r 37 r 38 r 39 r 40 r 41 r 42 r 43 r 44 r 45 r 46 r 47 r 48 r 51\
     r 52 r 53 r 54 r 55 r 56 r 57 r 58 r 59 r 60 r 61 r 62 r 219\
     r 112 r 110 r 117 r 115\
     r 96  r 221 r 225 r 236\
     r 217 r 218 r 219 r 220 r 221 r 191 r 192 r 193\
     r 222 r 223 r 224 r 225 r 194 r 195 r 196\
     r 226 r 227 r 228 r 229 r 197 r 198 r 199\
     r 156 r 235

Remove video

To see the output of the video camera from a remote X-server use the following command:

ssh -X olpc
gst-launch-0.10 v4l2src \! xvimagesink

The frame rate received this way is about 3 frames per second. Is there a faster way?

The following command reduces the video size and thus increases the frame rate so that it yields a "live video" effect:

gst-launch-0.10 v4l2src \!videoscale \!video/x-raw-yuv,width=320,height=240 \
    \! xvimagesink