Xrandr: Difference between revisions
New page: == a little R and R == I use a notebook computer, and normally use it at my office which means that I use an external keyboard and mouse plus use two monitors to get a larger work area. ... |
adds info about using the --size option |
||
| Line 22: | Line 22: | ||
xrandr --verbose --output VGA-0 --off | xrandr --verbose --output VGA-0 --off | ||
</source> | </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 == | == Resources == | ||