X11 分辨率问题

/etc/X11/xorg.conf 部分内容如下:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024×768"
        EndSubSection
EndSection

但是启动 X 后感觉分辨率不对,运行 xdpyinfo | grep dimensions,发现当前分辨率果然不是 1024×768,而且 resolution 也有误,不是标准的 96×96(运行 xdpyinfo | grep resolution)。

对 /etc/X11/xorg.conf 作出修改后解决问题:

#在 Monitor 段添加
Option "PreferredMode" "1024×768"

#在 Device 段添加
Option "NoDDC"

Tags: ,

This entry was posted on Tuesday, July 22nd, 2008 at 12:07 am and is filed under linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Posts you may enjoy

Leave a Reply

Please copy the string HQw4JK to the field below: