the crtc currently attached to this output. If green and blue
are not specified, the red value will be used for all three com‐
ponents. Note that you cannot get two different values for
cloned outputs (i.e.: which share the same crtc) and that switch‐
ing an output to another crtc doesn’t change the crtc gamma cor‐
rections at all.
--brightness brightness
Multiply the gamma values on the crtc currently attached to the
output to specified floating value. Useful for overly bright or
overly dim outputs. However, this is a software only modifica‐
tion, if your hardware has support to actually change the bright‐
ness, you will probably prefer to use xbacklight.
RandR version 1.1 options
These options are available for X servers supporting RandR version 1.1
or older. They are still valid for newer X servers, but they don’t in‐
teract sensibly with version 1.2 options on the same command line.
-s, --size size‐index or --size widthxheight
This sets the screen size, either matching by size or using the
index into the list of available sizes.
-r, --rate, --refresh rate
This sets the refresh rate closest to the specified value.
-o, --orientation rotation
This specifies the orientation of the screen, and can be one of
normal, inverted, left or right.
-x Reflect across the X axis.
-y Reflect across the Y axis.
EXAMPLES
Sets an output called LVDS to its preferred mode, and on its right put
an output called VGA to preferred mode of a screen which has been physi‐
cally rotated clockwise:
xrandr ‐‐output LVDS ‐‐auto ‐‐rotate normal ‐‐pos 0x0 ‐‐output
VGA ‐‐auto ‐‐rotate left ‐‐right‐of LVDS
Forces to use a 1024x768 mode on an output called VGA:
xrandr ‐‐newmode "1024x768" 63.50 1024 1072 1176 1328 768 771
775 798 ‐hsync +vsync
xrandr ‐‐addmode VGA 1024x768
xrandr ‐‐output VGA ‐‐mode 1024x768
Enables panning on a 1600x768 desktop while displaying 1024x768 mode on
an output called VGA:
xrandr ‐‐fb 1600x768 ‐‐output VGA ‐‐mode 1024x768 ‐‐panning
1600x0
Have one small 1280x800 LVDS screen showing a small version of a huge
3200x2000 desktop, and have a big VGA screen display the surrounding of
the mouse at normal size.
xrandr ‐‐fb 3200x2000 ‐‐output LVDS ‐‐scale 2.5x2.5 ‐‐output VGA
‐‐pos 0x0 ‐‐panning 3200x2000+0+0/3200x2000+0+0/64/64/64/64
Displays the VGA output in trapezoid shape so that it is keystone cor‐
rected when the projector is slightly above the screen:
xrandr ‐‐fb 1024x768 ‐‐output VGA ‐‐transform
1.24,0.16,‐124,0,1.24,0,0,0.000316,1
SEE ALSO
Xrandr(3), cvt(1), xkeystone(1), xbacklight(1)
AUTHORS
Keith Packard, Open Source Technology Center, Intel Corporation. and
Jim Gettys, Cambridge Research Laboratory, HP Labs, HP.
X Version 11 xrandr 1.5.1 XRANDR(1)