[oclug] Using the XRandR extension on XFree86/Redhat 9

Case Jones philipj at interchange.ubc.ca
Mon Jul 7 16:39:02 EDT 2003


On Mon, 7 Jul 2003 15:23:01 -0400
Irwin <arcana at yetta.net> wrote:

> For those who don't know, XRandR is the "Screen Resize and Rotate" extension 
> for XFree86.  I believe it's built into XFree86 4.2 and higher, and allows 
> you to finally resize the resolution and the orientation of the screen 
> without having to restart the X Server.
> 
> Unfortunately I cannot figure out how to rotate my screen (I have an LCD 
> monitor so I'd like to rotate it 90 degrees left) using a stock Redhat 
> distribution.  They have this nice little tool called the "Screen Rotate and 
> Resize" tool built into KDE (called kxrandrtray I believe) but it offers no 
> options for me to change the configuration.
> 
> Doing:
> 
> [~]$ xrandr -o left
> 
> results in:
> 
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  157 (RANDR)
>   Minor opcode of failed request:  2 (RRSetScreenConfig)
>   Serial number of failed request:  12
>   Current serial number in output stream:  12
> 

Your driver might not have that capability yet.  To see what options you
currently have, just type "xrandr".  Here were my results:

case at localhost:~$ xrandr       
 SZ:    Pixels          Physical       Refresh
*0   1600 x 1200   ( 572mm x 429mm )  *85   75   70   65   60  
 1   1280 x 1024   ( 572mm x 429mm )   79   68   54  
 2   1024 x 768    ( 572mm x 429mm )   72   60   57   50  
 3    800 x 600    ( 572mm x 429mm )   63   56   55   45   40  
 4    640 x 480    ( 572mm x 429mm )   56   49   39  
 5    640 x 350    ( 572mm x 429mm )   65  
 6    640 x 400    ( 572mm x 429mm )   58  
Current rotation - normal
Current reflection - none
Rotations possible - normal 
Reflections possible - none

This means that I can resize my desktop using "xrandr -s 0" thru "xrandr -s 6",
but I cannot reflect my screen, and I cannot rotate my screen to anything other
than the "normal" rotation.

Hope this helps.

Case



More information about the OCLUG mailing list