On Sun, Feb 6, 2011 at 12:53, Thomas Perl <th.p...@gmail.com> wrote: > 2011/2/6 Alberto Mardegan <ma...@users.sourceforge.net>: >> What do you think about all this? I didn't check hildon-desktop and mb2 >> source code yet, so if you also happen to have some hints on the >> implementation, they are very welcome. :-) > > Sounds good. Hildon-Desktop already sets the auto-rotation flag on a > window if Ctrl+Shift+R is pressed. There is a central place in H-D > where these keyboard shortcuts are handled. Going from there, you can > see how the setting of a flag is done (for the current window).
There's also Robin Burchell's "rotatedaemon" in Extras-devel which does something similar using XRandR (IIRC): http://maemo.org/packages/view/rotatedaemon/ Hope that helps, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ Maemo Community Council member _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers