OLPC where to go development advice.

Tomeu Vizoso tomeu at sugarlabs.org
Sun Feb 1 11:17:03 EST 2009


On Sun, Feb 1, 2009 at 17:08, Chris Ball <cjb at laptop.org> wrote:
> Hi Paul,
>
>   > OLPC: where exactly is the keyboard mapping file that would let me
>   > change the behavior of the screen orientation button?
>
> I don't think there's a way to stop the button from trying to perform a
> rotate (though I might be wrong), however you can register to receive a
> signal when the rotation happens.  The signal is delivered over HAL's
> dbus method -- you can watch it happen with "lshal --monitor".

It's sugar who listens for the keycode 0xEB and asks xrandr to rotate
the screen.

So you can modify sugar to not do that (see keyhandler.py) or you can
run other desktop environment.

Regards,

Tomeu

>   > specifically #include<gio/gio.h>
>
> Ubuntu has a website that allows you to search for packages containing
> part of a filename:
>
> http://packages.ubuntu.com/search?searchon=contents&keywords=gio%2Fgio.h&mode=exactfilename&suite=intrepid&arch=any
>
> Hope that helps,
>
> - Chris.
> --
> Chris Ball   <cjb at laptop.org>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



More information about the Devel mailing list