Rotate X window

Various KDE 1.-4. Improvements

Source (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
Score 58.0%
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..

him

13 years ago

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

Report

jtate

13 years ago

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.

Report

C

cr8

13 years ago

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

Report

Superstoned

13 years ago

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

Report

C

cr8

13 years ago

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?

Report

Sann

13 years ago

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

Report

bobuse

13 years ago

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 ?

Report

C

cr8

13 years ago

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

Report

bobuse

13 years ago

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

Report

stefbon

13 years ago

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

Report

C

cr8

13 years ago

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

Report

sebas_double

13 years ago

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

Report

12345678910
1
product-maker Genserowski Dec 05 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Sep 19 2006
added Sep 19 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1