笔记本中Linux分辨率设置1024*768


    今天终于把笔记本中Linux下的分辨率调成1024*768了!
    方法如下:
          在命令行下运行: gtf 1024 768 60
          我的笔记本的刷新率是60Hz.
          [root@localhost ~]# gtf 1024 768 60

          # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
          Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync

          [root@localhost ~]#

          在 /etc/X11中的 xorg.conf 文件中修改 Section "Monitor" 为
          Section "Monitor"
            Identifier   "Monitor0"
            VendorName   "Monitor Vendor"
            ModelName    "Unknown monitor"
            #HorizSync    31.5 - 37.9  [注释掉该行]
            #VertRefresh  50.0 - 70.0  [注释掉该行]
            Option        "dpms"
            # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
          Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
        EndSection

    并修改 Section "Screen" 为
    Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes   "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

相关内容