Chinaunix首页 | 论坛 | 博客
  • 博客访问: 379868
  • 博文数量: 120
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1255
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 01:25
文章分类

全部博文(120)

文章存档

2011年(2)

2010年(11)

2009年(28)

2008年(26)

2007年(53)

我的朋友

分类: LINUX

2009-10-29 13:54:30

调整linux系统的显示器分辨率。
 
1)cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bk
2)vi /etc/X11/xorg.conf
 
修改红色部分
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Unknown monitor"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 65
        Option      "dpms"
EndSection
to
 
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Unknown monitor"
        HorizSync    31.5 - 100.0
        VertRefresh  50.0 - 85.0
        Option      "dpms"
EndSection
 
 
在这个section中添加红色部分:
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    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1027x768" "1280x7200" "800x600" "640x480"
        EndSubSection
EndSection

重启机器即可。
 
阅读(887) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~