Ubuntu使用cvt命令生成xorg.conf下的屏幕分辨率和刷新率
生成1024x768刷新75Hz
luther@gliethttp:~$ cvt 1024 768 75
# 1024x768 74.90 Hz (CVT 0.79M3) hsync: 60.29 kHz; pclk: 82.00 MHz
Modeline "1024x768_75.00" 82.00 1024 1088 1192 1360 768 771 775 805 -hsync +vsync
生成1280x600刷新75Hz
luther@gliethttp:~$ cvt 1280 600 75
# 1280x600 74.76 Hz (CVT) hsync: 47.03 kHz; pclk: 78.25 MHz
Modeline "1280x600_75.00" 78.25 1280 1344 1472 1664 600 603 613 629 -hsync +vsync
设置screen分辨率
luther@gliethttp:~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.raw
luther@gliethttp:~$ sudo vim /etc/X11/xorg.conf
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1024x768_75.00" 82.00 1024 1088 1192 1360 768 771 775 805 -hsync +vsync
Modeline "1280x600_75.00" 78.25 1280 1344 1472 1664 600 603 613 629 -hsync +vsync
Option "PreferredMode" "1024x768_75.00"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection