我安装完ubuntu11.04后,分辨率是1024×768,不好看,而且从System Setting -> Monitors 进行设置也无法调上去,后面在网上看到一篇博客:
http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=346103
后,修改分辨率成功.
上文作者写出了自己的探索过程,我就直接写出最简单的设置方法吧:
主要过程:
1),选好自己适合分辨率,比如我的是1440×900,
终端运行:
cvt 1440 900
输出:
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "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
把下述配置写入文件:
[code]
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
[/code]
注意:Monitor Screen Device三个Section缺一不可,下面这一行可以不要:
[code]
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
[/code]
http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=346103
后,修改分辨率成功.
上文作者写出了自己的探索过程,我就直接写出最简单的设置方法吧:
主要过程:
1),选好自己适合分辨率,比如我的是1440×900,
终端运行:
cvt 1440 900
输出:
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "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
把下述配置写入文件:
[code]
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
[/code]
注意:Monitor Screen Device三个Section缺一不可,下面这一行可以不要:
[code]
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
[/code]