[maemo-developers] Allowing rotation of closed-source apps

From: Andrew Flegg andrew at bleb.org
Date: Sun Feb 6 15:03:07 EET 2011
On Sun, Feb 6, 2011 at 12:53, Thomas Perl <th.perl at gmail.com> wrote:
> 2011/2/6 Alberto Mardegan <mardy at 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:andrew at bleb.org  |  http://www.bleb.org/
Maemo Community Council member
More information about the maemo-developers mailing list