Ubuntu tour-adjusting the resolution of the extended Screen
Open terminal Input
xrandr
Obtain the following information:
Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192LVDS connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 309mm x 174mm 1366x768 60.0*+ 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x600 59.9 848x480 59.7 720x480 59.7 640x480 59.4 HDMI-0 disconnected (normal left inverted right x axis y axis)VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x600 60.3 56.2 848x480 60.0 640x480 59.9
Here LVDS is my laptop screen, external display is VGA-0
The resolution of my external monitor is 1440x900, and the maximum list is 1024x768, so I need to increase the resolution I need:
cvt 1440 900
The output is as follows:
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHzModeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
Here, the content after Modeline is the content to be added, and then add:
sudo xrandr --addmode VGA-0 "1440x900_60.00"
Last changed display
sudo xrandr --output VGA-0 --mode "1440x900_60.00"
Complete.
You may not be able to use the preset resolution each time you start the system. Use the following command:
sudo gedit ~/.profile
In ~ /. Add the command to modify the resolution at the end of profile:
cvt 1440 900xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsyncxrandr --addmode VGA-0 "1440x900_60.00"