Ideal screen rotation

Helge Hafting helge.hafting at
Fri Nov 6 16:40:04 CET 2009

Rui Miguel Silva Seabra wrote:
> On Wed, Nov 04, 2009 at 01:55:29PM +0100, Helge Hafting wrote:
>> The software that control rotation need to know if the foreground app
>> should run in landscape, portrait or auto mode. (And perhaps the 
>> upside-down variants as well.)
> Or, what I think would be the proper way to do it, the application should
> broadcast to dbus that it prefers no rotation, or one of the 4 possible
> rotation states and omnewrotate could listen to such requests and
> not rotate while there is such a message in the bus.

Well, you cannot expect every app to have such preferences, this device
runs generic linux apps that aren't made specially for the freerunner. 
Now, of course the app loader can do this, similiar to how we already 
request the cpu/backlight when launching some apps.

But there is a problem. The user may switch between several apps with
different rotation needs. (xmahjongg needs landscape, tetris needs 
portrait, ...)  How will omnewrotate be notified about this?

Helge Hafting

More information about the community mailing list