Xrandr: Difference between revisions

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation Jump to search
imported>Ram
Create the page with the basic information.
 
Undo revision 3489 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]])
Tag: Undo
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
To revert to the default settings
To revert to the default settings
<pre>xrandr --output LVDS1 --auto</pre>
<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