Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.7

Available as/for:
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..

Ratings & Comments

12 Comments

him

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

jtate

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.

cr8

unfortunately spits out errors, and I havent come across a tutorial that has worked for me...

Superstoned

krandr works fine for me... you have to enable the randr extention in Xorg.conf (google for it) and it'll work fine.

cr8

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?

Sann

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...

bobuse

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 ?

cr8

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

bobuse

try to run xrandr in a shell to find an issue ...

stefbon

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

cr8

indeed its a wonderful application.. i cant imagine how it would function using a slate and 855gm chipset...

sebas_double

It should be possible with Qt4, with pure X, you can only rotate the whole screen at once AFAIK.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0