On Sun, Feb 1, 2009 at 17:08, Chris Ball <c...@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 <c...@laptop.org> > _______________________________________________ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel