Prev | Current Page 147 | Next

Chris Tyler

"X Power Tools"


To signal the server to change resolution, a special client is required. A commandline
client called xrandr is provided with most X distributions.
To see the available modes, simply execute the command xrandr (a --query or -q
argument is optional):
$ xrandr
SZ: Pixels Physical Refresh
*0 1400 x 1050 ( 301mm x 232mm ) *75 70 60
1 1280 x 1024 ( 301mm x 232mm ) 75 60
2 1280 x 960 ( 301mm x 232mm ) 60
3 1280 x 800 ( 301mm x 232mm ) 75 70 60
4 1152 x 864 ( 301mm x 232mm ) 75 70 60
5 1280 x 768 ( 301mm x 232mm ) 75 70 60
...(lines deleted)...
22 424 x 240 ( 301mm x 232mm ) 75 70
23 320 x 240 ( 301mm x 232mm ) 75 73 60
Current rotation - normal
Current reflection - none
Rotations possible - normal left inverted right
Reflections possible - none
The resolution and refresh rate currently in use are marked with an asterisk.
To change the resolution, use the -s option and provide one of the size codes (the
first column of output shown in the preceding code) or the resolution. For example,
to change to 1280 ?— 800 resolution, enter either of these commands:
5.4
5.4 Using the Middle Mouse Button 87
$ xrandr -s 3
$ xrandr -s 1280x800
To change the orientation, use the -o option:
$ xrandr -o orientation
where orientation is normal, left, inverted, or right, or the corresponding number
0, 1, 2, or 3.


Pages:
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159