Description: ive been researching on how to enable screen rotation and it seems X always needs to restart. I was thinking and not sure if its possible, but the idea would be to have a rotate button in the titlebar. When pressed it would rotate that X window by 90...
is this possible? would be trully helpful for tablet owners..
Please make such a button!
I really need something like "magic rotation"(Windows) for KDE. My ATI drivers (in Kubuntu) cant rotate the screen via "graphical-button". In in Windows it was possible. Please forgive my bad englsh!
Gruß
HiM
Does the KRandRTray utility not work for you? I don't have a tablet, and I don't think my driver supports rotation, but it's advertised to rotate. It works very well for resizing, so I'd imagine that rotation would work well also.
randr is setup correctly as I can switch resolutions no problem, but it doesnt provide me any rotate options... if i run xrandr says
Rotations possible - normal
i still must be missing something that i cant pinpoint...
any ideas?
there is a possibility to rotate the x without restarting xorg. You may google for xrandr. Although this button ist a goog idea, it wouldn't be useful for most users, so i think this should not be implemented to kde. But as an improvment...
Of course it is possible with xrandr without restart X !!
I've wrote this article about it, but sorry it's in french !
http://bobuse.free.fr/blog/index.php/2006/04/26/profiter-de-la-fonction-pivot-de-son-ecran-plat/
My solution is to add a button in the kicker that launch the command :
xrandr | grep "Current rotation - normal" > /dev/null && xrandr -o left || xrandr -o normal
It's simple ! Isn't it ?
this is what happens when running your code...
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 155 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 12
Current serial number in output stream: 12
Well,
have you heard of Xgl and Xegl? With these new techniques it's very possible.
Only: not so good integration with kde-3.5, but as far I can see much better with kde-4.
Better support in gnome. There are a lot videos on the net where you can see what's possible.
Stef
Ratings & Comments
12 Comments
Please make such a button! I really need something like "magic rotation"(Windows) for KDE. My ATI drivers (in Kubuntu) cant rotate the screen via "graphical-button". In in Windows it was possible. Please forgive my bad englsh! Gruß HiM
Does the KRandRTray utility not work for you? I don't have a tablet, and I don't think my driver supports rotation, but it's advertised to rotate. It works very well for resizing, so I'd imagine that rotation would work well also.
unfortunately spits out errors, and I havent come across a tutorial that has worked for me...
krandr works fine for me... you have to enable the randr extention in Xorg.conf (google for it) and it'll work fine.
randr is setup correctly as I can switch resolutions no problem, but it doesnt provide me any rotate options... if i run xrandr says Rotations possible - normal i still must be missing something that i cant pinpoint... any ideas?
there is a possibility to rotate the x without restarting xorg. You may google for xrandr. Although this button ist a goog idea, it wouldn't be useful for most users, so i think this should not be implemented to kde. But as an improvment...
Of course it is possible with xrandr without restart X !! I've wrote this article about it, but sorry it's in french ! http://bobuse.free.fr/blog/index.php/2006/04/26/profiter-de-la-fonction-pivot-de-son-ecran-plat/ My solution is to add a button in the kicker that launch the command : xrandr | grep "Current rotation - normal" > /dev/null && xrandr -o left || xrandr -o normal It's simple ! Isn't it ?
this is what happens when running your code... X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 155 (RANDR) Minor opcode of failed request: 2 (RRSetScreenConfig) Serial number of failed request: 12 Current serial number in output stream: 12
try to run xrandr in a shell to find an issue ...
Well, have you heard of Xgl and Xegl? With these new techniques it's very possible. Only: not so good integration with kde-3.5, but as far I can see much better with kde-4. Better support in gnome. There are a lot videos on the net where you can see what's possible. Stef
indeed its a wonderful application.. i cant imagine how it would function using a slate and 855gm chipset...
It should be possible with Qt4, with pure X, you can only rotate the whole screen at once AFAIK.