Xrandr: Difference between revisions
adds info about using the --size option |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 10: | Line 10: | ||
== Using XRandR == | == Using XRandR == | ||
Hint: I store each of these commands as "bookmarks" in Konsole organized under "system configuration" | Hint: I store each of these commands as "bookmarks" in Konsole organized under "system configuration" | ||
< | <syntaxhighlight lang="bash"> | ||
# grab resolution details | # grab resolution details | ||
echo "xrandr -q:" > ~/resolution.txt && xrandr -q >> ~/resolution.txt | echo "xrandr -q:" > ~/resolution.txt && xrandr -q >> ~/resolution.txt | ||
| Line 21: | Line 21: | ||
# external monitor OFF | # external monitor OFF | ||
xrandr --verbose --output VGA-0 --off | xrandr --verbose --output VGA-0 --off | ||
</ | </syntaxhighlight> | ||
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. | 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. | ||