Ubuntu手动设置分辨率

原文地址:http://openmind.iteye.com/blog/1319868

我安装完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

把下述配置写入文件:

Java代码  收藏代码
  1. Section "Monitor"  
  2. Identifier "Configured Monitor"  
  3. Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync  
  4. Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync  
  5. Option "PreferredMode" "1440x900_60.00"  
  6. EndSection  
  7.   
  8. Section "Screen"  
  9. Identifier "Default Screen"  
  10. Monitor "Configured Monitor"  
  11. Device "Configured Video Device"  
  12. EndSection  
  13.   
  14. Section "Device"  
  15. Identifier "Configured Video Device"  
  16. EndSection  


注意:Monitor Screen Device三个Section缺一不可,下面这一行可以不要:

posted on 2012-01-29 13:55  Shadowfax  阅读(610)  评论(0)    收藏  举报