1,选好自己适合分辨率,比如我的是1440×900, 终端运行:
cvt 1440 900
输出:
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
2把这个分辨率写入配置文件:
命令:
sudo vim /etc/X11/xorg.conf 或
sudo gedit /etc/X11/xorg.conf
3把下述配置写入文件:
Java代码
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
Option "PreferredMode" "1440x900_60.00"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection