Re: Rotate single application
It seems the most feasible solution is to ask the developer of the application for a self-rotating mode. On Thu, Nov 27, 2008 at 2:12 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 00:53:01 + Al Johnson [EMAIL PROTECTED] babbled: On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 03:04:03 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. nothing to do with illume. this is x. apps draw their own window contents and handle their own window even inputs. the app would need to rotate its own draws and translate all input even co-ordinates. I was thinking of a window manager plugin that applies rotation when the window is activated. Compiz can apply many of its effects selectively according to application (window name?) so I'm guessing wildly that calling an xrandr setting by name on change of active window should be possible. Then again I know nothing abut the internals of window managers... that would require xevie (so every mouse event go through the compositor and it can try translate (rotate them), so you will add more latency to mouse events), and compositing (which will slow down rendering as all rendering now has to happen to a backing pixmap) AND you will not have accelerated rotates/transforms as xrender is unaccelerated on glamo - so your output will become nice and slow... really slow. as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- - Atilla Filiz Eindhoven University of Technology Embedded Systems, Master's Programme ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, Nov 27, 2008 at 11:09 AM, Atilla Filiz [EMAIL PROTECTED] wrote: It seems the most feasible solution is to ask the developer of the application for a self-rotating mode. Does anyone know how to do this in Qt? -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 00:53:01 + Al Johnson [EMAIL PROTECTED] babbled: On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 03:04:03 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. nothing to do with illume. this is x. apps draw their own window contents and handle their own window even inputs. the app would need to rotate its own draws and translate all input even co-ordinates. I was thinking of a window manager plugin that applies rotation when the window is activated. Compiz can apply many of its effects selectively according to application (window name?) so I'm guessing wildly that calling an xrandr setting by name on change of active window should be possible. Then again I know nothing abut the internals of window managers... that would require xevie (so every mouse event go through the compositor and it can try translate (rotate them), so you will add more latency to mouse events), and compositing (which will slow down rendering as all rendering now has to happen to a backing pixmap) AND you will not have accelerated rotates/transforms as xrender is unaccelerated on glamo - so your output will become nice and slow... really slow. I hadn't even considered that approach on this hardware. Not a nice thought. as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. That's what I was thinking of. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, 27 Nov 2008 20:07:25 + Al Johnson [EMAIL PROTECTED] babbled: as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. That's what I was thinking of. so as such you'd like it, if application X is focused (active app) then the whole screen rotates as long as its focused - then rotates back to normal when somewhere else? (eg it's a game or video that prefers to run in landscape mode). -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 20:07:25 + Al Johnson [EMAIL PROTECTED] babbled: as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. That's what I was thinking of. so as such you'd like it, if application X is focused (active app) then the whole screen rotates as long as its focused - then rotates back to normal when somewhere else? (eg it's a game or video that prefers to run in landscape mode). I think that's what the OP was asking for. Personally it would need some careful interface design to avoid driving me nuts! It's another tool that might be good for some people in some circumstances. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Fri, 28 Nov 2008 00:11:42 + Al Johnson [EMAIL PROTECTED] babbled: On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 20:07:25 + Al Johnson [EMAIL PROTECTED] babbled: as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. That's what I was thinking of. so as such you'd like it, if application X is focused (active app) then the whole screen rotates as long as its focused - then rotates back to normal when somewhere else? (eg it's a game or video that prefers to run in landscape mode). I think that's what the OP was asking for. Personally it would need some careful interface design to avoid driving me nuts! It's another tool that might be good for some people in some circumstances. noted - but i'd say not a priority :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Fri, Nov 28, 2008 at 3:11 AM, Al Johnson [EMAIL PROTECTED] wrote: On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 20:07:25 + Al Johnson [EMAIL PROTECTED] babbled: as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. That's what I was thinking of. so as such you'd like it, if application X is focused (active app) then the whole screen rotates as long as its focused - then rotates back to normal when somewhere else? (eg it's a game or video that prefers to run in landscape mode). I think that's what the OP was asking for. Personally it would need some careful interface design to avoid driving me nuts! It's another tool that might be good for some people in some circumstances. Actually I thought more about rotating just application's main window content - that should be much smoother when switching back and forth. But I'd be happy with rotating the whole screen too. And hopefully not only me :) -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
Alexander Chemeris schrieb: Hi, Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
Hi, On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Wednesday 26 November 2008, Bernd Prünster wrote: Alexander Chemeris schrieb: Hi, Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's what the OP does already. It doesn't do what's being asked though. If you switch windows without closing your rotated app you will find that everything else is rotated too. The OP is asking for rotate happen to that app only. I don't know of anything that does that for generic apps, but I could imagine it being a window manager plugin. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: Hi, On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, 27 Nov 2008 03:04:03 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. nothing to do with illume. this is x. apps draw their own window contents and handle their own window even inputs. the app would need to rotate its own draws and translate all input even co-ordinates. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 03:04:03 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. nothing to do with illume. this is x. apps draw their own window contents and handle their own window even inputs. the app would need to rotate its own draws and translate all input even co-ordinates. I was thinking of a window manager plugin that applies rotation when the window is activated. Compiz can apply many of its effects selectively according to application (window name?) so I'm guessing wildly that calling an xrandr setting by name on change of active window should be possible. Then again I know nothing abut the internals of window managers... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Rotate single application
On Thu, 27 Nov 2008 00:53:01 + Al Johnson [EMAIL PROTECTED] babbled: On Thursday 27 November 2008, Carsten Haitzler wrote: On Thu, 27 Nov 2008 03:04:03 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Thu, Nov 27, 2008 at 2:39 AM, The Rasterman Carsten Haitzler [EMAIL PROTECTED] wrote: On Thu, 27 Nov 2008 01:43:49 +0300 Alexander Chemeris [EMAIL PROTECTED] babbled: On Wed, Nov 26, 2008 at 10:03 PM, Bernd Prünster [EMAIL PROTECTED] wrote: Alexander Chemeris schrieb: Is there any possibility to rotate screen for a selected application? Now I use xrandr -o 1 app xrandr -o 0 to run application in landscape mode, but this rotates screen for the whole system. I rather want to rotate single application window. sure it is, just make shellscript which does the rotation, then launches the application an then rotates tzhe screen back. you can also change the keycode for the aux button just for one application in the same way! (just look at the scummvm wiki page if you want to have a good example!) That's exactly what I'm doing - xrandr -o 1 app xrandr -o 0 But this change screen orientation for the whole X. If you tap on the top, choose Home, you'll see it also rotated. What I'm asking for is an ability to rotate a single aplpication, leaving illume and other apps in portrait orientation. Btw, thanks for pointing to ScummVM, I should try this. :) you will need to make the app itself handle its own rotated drawing. it's up to the app. That's what I expected. I wonder why there are still no such feature in illume. A handful of applications want this. nothing to do with illume. this is x. apps draw their own window contents and handle their own window even inputs. the app would need to rotate its own draws and translate all input even co-ordinates. I was thinking of a window manager plugin that applies rotation when the window is activated. Compiz can apply many of its effects selectively according to application (window name?) so I'm guessing wildly that calling an xrandr setting by name on change of active window should be possible. Then again I know nothing abut the internals of window managers... that would require xevie (so every mouse event go through the compositor and it can try translate (rotate them), so you will add more latency to mouse events), and compositing (which will slow down rendering as all rendering now has to happen to a backing pixmap) AND you will not have accelerated rotates/transforms as xrender is unaccelerated on glamo - so your output will become nice and slow... really slow. as such you could selectively rotate thew WHOLE screen if a particular window is focused, but e has no such code - a module could be written that does just that. but then the keyboard, top-bar etc. will also rotate. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community