Difference between revisions of "Xrandr"
imported>Pew (Replaced content with "Category:Pending deletion") |
(Undo revision 3489 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]])) (Tag: Undo) |
||
Line 1: | Line 1: | ||
− | [[Category: | + | Xrandr is a command line tool used for dynamically changing X screens. It is the basic interface to the [https://secure.wikimedia.org/wikipedia/en/wiki/RandR RandR] X extensions. |
+ | |||
+ | == Useful Incantations == | ||
+ | |||
+ | In order to use a machine on projector, you may want to mirror your screen to be the same as what is displayed on the projector. This mirrors your primary screen (assumed to be LVDS1) to the first VGA console (VGA1), then sets your screen to have a 1024x768 resolution (which should be the same as the projector) | ||
+ | <pre>xrandr --output LVDS1 --mode 1024x768 --output VGA1 --same-as LVDS1</pre> | ||
+ | |||
+ | To revert to the default settings | ||
+ | <pre>xrandr --output LVDS1 --auto</pre> | ||
+ | |||
+ | [[Category:Howtos]] | ||
+ | [[Category:Software]] |
Latest revision as of 07:31, 4 January 2019
Xrandr is a command line tool used for dynamically changing X screens. It is the basic interface to the RandR X extensions.
Useful Incantations
In order to use a machine on projector, you may want to mirror your screen to be the same as what is displayed on the projector. This mirrors your primary screen (assumed to be LVDS1) to the first VGA console (VGA1), then sets your screen to have a 1024x768 resolution (which should be the same as the projector)
xrandr --output LVDS1 --mode 1024x768 --output VGA1 --same-as LVDS1
To revert to the default settings
xrandr --output LVDS1 --auto