Use the command to solve the Ubuntu projector problem:

** 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.

How to switch the VGA output of ubuntu to the projector randr

※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.

Full update log

32 Bit version download

64 Bit version download

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

Use the command to solve the Ubuntu projector problem:
Use the command line to detect the Ubuntu version method
Solve the problem of installing VMwareTools on Ubuntu 18.04
How to use dpkg command in Ubuntu system
Introduction to the use of Hanlp in ubuntu
Solve the problem of installing Theano on Ubuntu19
Use virtualbox to deploy ubuntu
[Share] Solve the problem of failed installation of Vitis 2019.2 on Ubuntu 16.04
Solve the problem that the Ubuntu 17.10 settings panel cannot be opened
How to use hanlp in ubuntu
Ubuntu basic settings: introduction to the installation and use of openssh-server
How to fix the problem of missing system settings on Ubuntu 14.04
ubuntu16.04 method steps to upgrade the kernel
The locate file search command in Ubuntu16.04
The apt-get command of Ubuntu basic tutorial
How to use Samba server on Ubuntu 16.04
Ubuntu modified the default sh to bash
Solution to the problem that ubuntu cannot connect to the Internet in the virtual machine
Python novice learns to use the library
Use python3 to install third on ubuntu
How to modify the hostname on Ubuntu 20.04
windows use ubuntu to start linux service
How to use Prometheus to monitor your Ubuntu 14.04 server
How to use the round function in python
How to configure TensorFlow use environment in Ubuntu
Solution for Ubuntu unable to connect to the network
Summary of methods to use Evernote under Ubuntu 14.04
Solve the problem that Centos8 cannot install docker
Explain the solution to the Ubuntu 16.04 launcher icon exception
How to use Nginx's map module on Ubuntu 16.04
How to install and use Docker on Ubuntu 20.04
The solution to the failure to install .deb under Ubuntu 16.04
How to install and use Curl on Ubuntu 18.04
How to install and use Composer on Ubuntu 18.04
Solve the problem of python running startup error
How to install and use Wine on Ubuntu 18.04
How to use the format function in python
How to use Docker data volumes on Ubuntu 14.04
How to open the ubuntu system in win10
Use doxygen to generate API documentation under Ubuntu 12.04
How to enter python through the command line
How to install and use Composer on Ubuntu 20.04
The road to reinstallation of ubuntu 18.04 from scratch
How to install and use BaasBox on Ubuntu 14.04
Wsl sets the default account to root (ubuntu18.04)
Publish the node.js project under Ubuntu to heroku
How to use Jenkins to build automatically on Ubuntu
The use of crontab for ubuntu scheduled tasks
How to install and use PostgreSQL on Ubuntu 16.04
The ultimate guide to install gooderp on ubuntu
How to run the parsing server on Ubuntu 14.04
Use command to clear specific hostname in CentOS7
How to check the installed JDK on Ubuntu
How to install and use Docker on Ubuntu 16.04
Use python to realize the aircraft war game
How to install the latest MySQL on Ubuntu 18.04
Ubuntu use notes
ubuntu zip/unzip use
How to create and use MongoDB backups on Ubuntu 14.04
How to add the gzip module to Nginx on Ubuntu 14.04
Solve the problem of python compiling and installing ssl