`
kuwoleft
  • 浏览: 1075084 次
文章分类
社区版块
存档分类
最新评论

ubuntu9.10更改屏幕分辨率

 
阅读更多

此方法针对显示首选项的最大分辨率只有800*600的情况。

第一步:在终端中输入命令:cvt 1024 768 (“1024 768“是根据分辨率来写的,其它的分辨率有:600*480 、800*600 、1024*768、1400x1050、1600x1200、1280x720、1920x1080等).如果你想设置显示器的分辨率为 1600*1200的话,则输入命令:cvt 1600 1200

第二步:记下终端中输出的参数,如下面则是我在终端中输入cvt 1600 1200后显示的参数。(注:不同显示器的参数有所不同,所以必须运行第一个命令,而不能照搬别人的显示器的参数)

# 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

第三步:在终端中输入命令:sudo gedit /etc/X11/xorg.conf (注意大小写),输入密码后打开了一个文件。此文件如果是空白的,则在文件中加入如下内容。注意要将Modeline和Modes中的参数替换。保存文件 后重启系统就可以成功的更改分辨率。

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1440x900"
DisplaySize 410 260
HorizSync 31.5 - 100.0
VertRefresh 59.0 - 75.0
Option "dpms"
Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
EndSection

Section "Device"
Identifier "Videocard0"

#注意,如果这里找不到驱动,则空 ,没有其他项
EndSection


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics