It seems the most feasible solution is to ask the developer of the application for a self-rotating mode.<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 2:12 AM, The Rasterman Carsten Haitzler <span dir="ltr"><<a href="mailto:raster@rasterman.com">raster@rasterman.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, 27 Nov 2008 00:53:01 +0000 Al Johnson <<a href="mailto:openmoko@mazikeen.demon.co.uk">openmoko@mazikeen.demon.co.uk</a>><br>
babbled:<br>
<div><div></div><div class="Wj3C7c"><br>
> On Thursday 27 November 2008, Carsten Haitzler wrote:<br>
> > On Thu, 27 Nov 2008 03:04:03 +0300 "Alexander Chemeris"<br>
> ><br>
> > <<a href="mailto:alexander.chemeris@gmail.com">alexander.chemeris@gmail.com</a>> babbled:<br>
> > > On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler<br>
> > ><br>
> > > <<a href="mailto:raster@rasterman.com">raster@rasterman.com</a>> wrote:<br>
> > > > On Thu, 27 Nov 2008 01:43:49 +0300 "Alexander Chemeris"<br>
> > > ><br>
> > > > <<a href="mailto:Alexander.Chemeris@sipez.com">Alexander.Chemeris@sipez.com</a>> babbled:<br>
> > > >> On Wed, Nov 26, 2008 at 10:03 PM, Bernd PrĂ¼nster<br>
> > > >><br>
> > > >> <<a href="mailto:bernd.pruenster@gmail.com">bernd.pruenster@gmail.com</a>> wrote:<br>
> > > >> > Alexander Chemeris schrieb:<br>
> > > >> >> Is there any possibility to rotate screen for a selected<br>
> > > >> >> application? Now I use "xrandr -o 1 && app && xrandr -o 0" to run<br>
> > > >> >> application in landscape mode, but this rotates screen for the<br>
> > > >> >> whole system. I rather want to rotate single application window.<br>
> > > >> ><br>
> > > >> > sure it is, just make shellscript which does the rotation, then<br>
> > > >> > launches the application an then rotates tzhe screen back. you can<br>
> > > >> > also change the keycode for the aux button just for one application<br>
> > > >> > in the same way! (just look at the scummvm wiki page if you want to<br>
> > > >> > have a good example!)<br>
> > > >><br>
> > > >> That's exactly what I'm doing - "xrandr -o 1 && app && xrandr -o 0"<br>
> > > >> But this change screen orientation for the whole X. If you tap on the<br>
> > > >> top, choose "Home", you'll see it also rotated. What I'm asking for<br>
> > > >> is an ability to rotate a single aplpication, leaving illume and other<br>
> > > >> apps in portrait orientation.<br>
> > > >><br>
> > > >> Btw, thanks for pointing to ScummVM, I should try this. :)<br>
> > > ><br>
> > > > you will need to make the app itself handle its own rotated drawing.<br>
> > > > it's up to the app.<br>
> > ><br>
> > > That's what I expected.<br>
> > > I wonder why there are still no such feature in illume. A handful of<br>
> > > applications<br>
> > > want this.<br>
> ><br>
> > nothing to do with illume. this is x. apps draw their own window contents<br>
> > and handle their own window even inputs. the app would need to rotate its<br>
> > own draws and translate all input even co-ordinates.<br>
><br>
> I was thinking of a window manager plugin that applies rotation when the<br>
> window is activated. Compiz can apply many of its effects selectively<br>
> according to application (window name?) so I'm guessing wildly that calling<br>
> an xrandr setting by name on change of active window should be possible. Then<br>
> again I know nothing abut the internals of window managers...<br>
<br>
</div></div>that would require xevie (so every mouse event go through the compositor and<br>
it can try translate (rotate them), so you will add more latency to mouse<br>
events), and compositing (which will slow down rendering as all rendering now<br>
has to happen to a backing pixmap) AND you will not have accelerated<br>
rotates/transforms as xrender is unaccelerated on glamo - so your output will<br>
become nice and slow... really slow.<br>
<br>
as such you could selectively rotate thew WHOLE screen if a particular window<br>
is focused, but e has no such code - a module could be written that does just<br>
that. but then the keyboard, top-bar etc. will also rotate.<br>
<div class="Ih2E3d"><br>
--<br>
------------- Codito, ergo sum - "I code, therefore I am" --------------<br>
</div><div class="Ih2E3d">The Rasterman (Carsten Haitzler) <a href="mailto:raster@rasterman.com">raster@rasterman.com</a><br>
<br>
<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------------------------<br>Atilla Filiz<br>Eindhoven University of Technology<br>Embedded Systems, Master's Programme<br>
--------------------------------------------------------<br>