Difference between revisions of "Xrandr"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Mjh
(Categorization)
(Undo revision 3489 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]))
(Tag: Undo)
 
(2 intermediate revisions by one other user not shown)
(No difference)

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