** xrandr command to solve Ubuntu projector problem**
The xrandr command line can easily switch between dual screens, the common way is as follows:
Ubuntu commands
xrandr --output VGA --same-as LVDS --auto
Turn on the external monitor (highest resolution) and display the same content as the laptop LCD screen (clone)
Ubuntu commands
xrandr --output VGA --same-as LVDS --mode 1024x768
Turn on the external monitor (resolution 1024x768), and display the same content as the laptop LCD screen (clone)
Ubuntu commands
xrandr --output VGA --right-of LVDS --auto
Turn on the external monitor (highest resolution) and set it to the extended screen on the right
Ubuntu commands
xrandr --output VGA --off
Turn off the external display
Ubuntu commands
xrandr --output VGA --auto --output LVDS --off
Turn on the external monitor and close the laptop LCD screen at the same time (only work with the external monitor)
Ubuntu commands
xrandr --output VGA --off --output LVDS --auto
Turn off the external monitor and open the laptop LCD screen at the same time (use laptop LCD screen only)
(Please be careful in the last two cases, don't turn off both screens by mistake...)
In addition to using commands, the "Screen Resolution" software that comes with GNOME is very powerful (System -> Preferences -> Screen Resolution). The way to open and close the second monitor is to adjust its resolution and cancel "Clone" can be set as an extended screen, and the relative position of the two screens can be adjusted by dragging the icon position.
※051012 update
Taken from Problem that xrandr cannot be used after installing nvidia driver
Is this news helpful?
NVIDIA released the 302.07 Beta version of the closed-source binary graphics driver and finally introduced RandR 1.2/1.3 support.
Highlights of this version:
After three years, NVIDIA finally realized RandR 1.2/1.3 support for its multi-head display, keeping up with the pace of Intel/AMD/Catalyst/Nouveau. This will mean that users of the NVIDIA closed-source graphics driver will be able to use the GNOME/KDE multi-display management with better experience and functions, instead of having to worry about the multi-display settings in the half-dead NVIDIA control panel.
101309 Taken from
http://forum.ubuntu.org.cn/viewtopic.php?f=126&t=188965 (5th floor)
Use xrandr and arandr. Just run arandr directly and select it with the mouse.
Use sudo apt-get install arandr
xrandr can be seen after exiting arandr
But it fails when looking at the PPS output parameter
X output to projector
#! /bin/bash
xrandr --output VGA-0 --same-as LVDS --auto
Related link: http://imtx.me/archives/1695.html
http://www.startos.com/ubuntu/tips/201010146907.html
Recommended Posts