Open main menu

Changes

799 bytes added ,  23:45, 17 November 2008
adds info about using the --size option
xrandr --verbose --output VGA-0 --off
</source>
 
If you use the <code>--dryrun</code> option to xrandr, it will show you a '''numbered''' list of the modes it knows about. ''That'' number is the number you can supply to the --size argument.
 
So, if you have a slew of 20 resolutions supported by your video card (as seen in <code>xrandr</code> output), and the 20th one is the super duper 1900x1200 resolution you want, then issue an xrandr --size 20 to get the 20th mode. I hope this is clear. It certainly isn't clear from the man page. Unlike a plain <code>xrandr</code> command, the --dryrun option numbers the modes in the output so that you know (without counting) the mode index to supply to the --size option.
 
== Note ==
Apparently in the newest Xorg, you barely even need an xorg.conf file, and xrandr is more central to the system
== Resources ==
4,558

edits