Ideal screen rotation

Rui Miguel Silva Seabra rms at
Sat Nov 7 21:01:03 CET 2009

On Fri, Nov 06, 2009 at 08:24:13PM +0000, Neil Jerram wrote:
> 2009/11/6 Rui Miguel Silva Seabra <rms at>:
> > On Fri, Nov 06, 2009 at 04:40:04PM +0100, Helge Hafting wrote:
> >>
> >> 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?
> >
> > The proper way is to define a set of DBUS signals.
> Thanks to everyone for your replies on this topic.
> I agree with Helge, in that I don't think DBUS is a good solution,
> because I really want a solution that works for existing apps.
> I suppose for existing apps there could be a DBUS proxy that somehow
> works out the best orientation and then sends a DBUS signal on the
> app's behalf.  But that seems complicated.
> Also I'm not sure why DBUS helps at all.  Once a program somewhere has
> worked out the best orientation, why not just call xrandr directly?

The program needs to know which orientation it works best, but "outsource"
the work to another program in a lighteight form (X props or dbus) is


More information about the community mailing list