Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
Junqian Gordon Xu schrieb: On 09/21/2008 05:28 AM, Bernhard Guillon wrote: Junqian Gordon Xu schrieb: The rotation is probably for different Z models (clamshell vs portrait). Could you post or point to the code? Here is the source http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xqt/xqt2/xfree86/xqt-driver/qtscreen.cc?rev=1.1view=auto If I remember correctly from using X/Qt with Sharp-rom (Qtopia), the X/Qt screen was not able to rotate once you were in the session. So I guess the zaurus hack is to pre-rotate the screen for different zaurus devices. It certainly would be nice to be able to rotate screen under X/Qt. Ok, I patched the source a bit and Xqt2 it is now quite usable on my SIMpad :). Here is a picture with xeyes native on the pad [1] and here [2] one of a ssh forwarded X11 session with epiphany. In Xqt2 there is already some wrapper for xrandr implemented and it should work with some effort on it. I will try to fix everything for the SIMpad and then let Zaurus users test it. Do you know if I can get the size of the taskbar? Xqt uses some fixed sizes for it which are wrong on my pad. best regards Bernhard Guillon 1 http://linuxtogo.org/~mr_nice/simpad_xqt2.png 2 http://linuxtogo.org/~mr_nice/x11_session_simpad.png ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
On 09/22/2008 07:12 AM, Bernhard Guillon wrote: Junqian Gordon Xu schrieb: On 09/21/2008 05:28 AM, Bernhard Guillon wrote: Junqian Gordon Xu schrieb: The rotation is probably for different Z models (clamshell vs portrait). Could you post or point to the code? Here is the source http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xqt/xqt2/xfree86/xqt-driver/qtscreen.cc?rev=1.1view=auto If I remember correctly from using X/Qt with Sharp-rom (Qtopia), the X/Qt screen was not able to rotate once you were in the session. So I guess the zaurus hack is to pre-rotate the screen for different zaurus devices. It certainly would be nice to be able to rotate screen under X/Qt. Ok, I patched the source a bit and Xqt2 it is now quite usable on my SIMpad :). Here is a picture with xeyes native on the pad [1] and here [2] one of a ssh forwarded X11 session with epiphany. Looks nice. Good work. In Xqt2 there is already some wrapper for xrandr implemented and it should work with some effort on it. Xqt2 is sort of an incomplete (now abandoned) work. Things could work much better with some effort. I will try to fix everything for the SIMpad and then let Zaurus users test it. Do you know if I can get the size of the taskbar? Xqt uses some fixed sizes for it which are wrong on my pad. Sorry to disappoint you, but I'm also learning. Ask bluelightning. Regards Gordon ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
Junqian Gordon Xu schrieb: The rotation is probably for different Z models (clamshell vs portrait). Could you post or point to the code? Here is the source http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xqt/xqt2/xfree86/xqt-driver/qtscreen.cc?rev=1.1view=auto best regard Bernhard Guillon ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
On 09/21/2008 05:28 AM, Bernhard Guillon wrote: Junqian Gordon Xu schrieb: The rotation is probably for different Z models (clamshell vs portrait). Could you post or point to the code? Here is the source http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xqt/xqt2/xfree86/xqt-driver/qtscreen.cc?rev=1.1view=auto If I remember correctly from using X/Qt with Sharp-rom (Qtopia), the X/Qt screen was not able to rotate once you were in the session. So I guess the zaurus hack is to pre-rotate the screen for different zaurus devices. It certainly would be nice to be able to rotate screen under X/Qt. Regards Gordon ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
Bernhard Guillon wrote: Hi, I now read the source of X/Qt a bit to debug its behaviour on my SIMpad (screen resolution is switched). It is a hack for Zaurus and there are some ifdefs for it. I was not able to use it without QWS (the hacks for zaurus) at the moment but I keep trying. So I am wonder why it is needed? It rotates the screen 270° and changes h to w and w to h. I own no Zaurus and it is not documented for which models this hack is. It is maybe not even needed for opie? Thinking outside the box for a moment: you could use qvfb[1] inside an X11 session to run opie or opie apps. regards, Koen [1] http://www.angstrom-distribution.org/repo/?action=detailspnm=qt-x11-qvfb ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] X/Qt and Zaurus rotation with Opie
On Sunday 21 September 2008, you wrote: Thinking outside the box for a moment: you could use qvfb[1] inside an X11 session to run opie or opie apps. Actually that's a great idea, perhaps someone could test it? Cheers, Paul ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
[Angstrom-devel] X/Qt and Zaurus rotation with Opie
Hi, I now read the source of X/Qt a bit to debug its behaviour on my SIMpad (screen resolution is switched). It is a hack for Zaurus and there are some ifdefs for it. I was not able to use it without QWS (the hacks for zaurus) at the moment but I keep trying. So I am wonder why it is needed? It rotates the screen 270° and changes h to w and w to h. I own no Zaurus and it is not documented for which models this hack is. It is maybe not even needed for opie? best regards Bernhard Guillon ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel