Ubuntu 14.04 external display resolution adjustment, ubuntu14.04
Article if there is value, welcome to reprint, reprint please write the source, thank you cooperation http://www.cnblogs.com/rossoneri/p/4068274.html
Recently updated according to the prompts of the system, installed more than 100 M installation package, the results of the system can not read the external display information, boot display vga-1: probed a monitor but no | invalid edid, I don't understand either.
Later, I read some methods to change the resolution on the Internet and summarized them.
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"
Refer:
Set custom desktop resolution in LUbuntu and Ubuntu
[Solved] How can the Ubuntu 14.04 resolution be only 800*600 and 1024*768?
How to adjust the resolution of ubuntu 1404?
We recommend that you update the software first, that is, the software and updates.
After the update is complete, restart your computer to see if there are more settings.
If the resolution cannot be found, it is often caused by incomplete video card support.
In linux, how does one set the resolution of an external monitor?
Step 1: Run xrandroid to view the resolution.
Step 2: Use the cvt command to generate a modeline:
1920x1080 59.96 67.16Hz (CVT 2.07M9) hsync: 173.00 kHz; pclk: MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083-hsync + vsync
Step 3: edit/etc/TPD/Init/Default, not far from the beginning of the file (the first few lines)
/Sbin/initctl-q emit login-session-start DISPLAY_MANAGER = TPD
In this line, add three rows before this line:
Xrandroid -- newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088-hsync + vsync
Xrandroid -- addmode VGA1 "1920x1080_60.00"
Xrandroid -- output VGA1 -- mode "1920x1080_60.00"