vovi 发表于 2005-3-3 13:47:54

7.3下如何通过配置文件修改分辨率呢?

求助.1024的想改成800

sutie 发表于 2005-3-3 13:52:26

把你/etc/X11下面的 Xfree86-4(好象是这个名字)贴上来!

vovi 发表于 2005-3-3 14:25:17

# File generated by anaconda.

Section "ServerLayout"
      Identifier   "Anaconda Configured"
      Screen      0"Screen0" 0 0
      InputDevice    "Mouse0" "CorePointer"
      InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.

    RgbPath        "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "unix/:7100"

EndSection

Section "Module"
      Load"GLcore"
      Load"dbe"
      Load"extmod"
        Load "fbdevhw"
        Load "dri"
      Load"glx"
      Load"record"
      Load"freetype"
      Load"type1"
EndSection

Section "InputDevice"
      Identifier"Keyboard0"
      Driver      "keyboard"

#        Option        "AutoRepeat"        "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "Protocol"        "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
        Option        "XkbRules"        "xfree86"
        Option        "XkbModel"        "pc105"
        Option        "XkbLayout"        "us"
        #Option        "XkbVariant"        ""
        #Option        "XkbOptions"        ""
EndSection

Section "InputDevice"
      Identifier"Mouse0"
      Driver      "mouse"
      Option      "Protocol" "PS/2"
      Option      "Device" "/dev/psaux"
      Option      "ZAxisMapping" "4 5"
      Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
      Identifier   "Monitor0"
      VendorName   "Monitor Vendor"
      ModelName    "Monitor Model"
      HorizSync   31.5-48.5
      VertRefresh 50-70
      Option "dpms"

      # -- 1400x1050 --
      # 1400x1050 @ 60Hz, 65.8 kHz hsync
      Modeline "1400x1050"129   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 70Hz, 76.8 kHz hsync
      Modeline "1400x1050"151   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 75Hz, 82.3 kHz hsync
      Modeline "1400x1050"162   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 85Hz, 93.2 kHz hsync
      Modeline "1400x1050"184   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Device"
        # no known options
        Identifier   "VESA driver (generic)"
      Driver       "vesa"
      VendorName   "VESA driver (generic)"
      BoardName   "VESA driver (generic)"
      
      #BusID
EndSection

Section "Screen"
        Identifier   "Screen0"
      Device       "VESA driver (generic)"
      Monitor      "Monitor0"
        DefaultDepth        16

        Subsection "Display"
              Depth       16
                Modes       "1024x768" "800x600" "640x480"
        EndSubsection

EndSection

Section "DRI"
        Mode 0666
EndSection

vovi 发表于 2005-3-3 14:27:24

是不是修改这个地方的顺序.
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

刷新率用跟着改吧?
我不能运行redhat-config-XFree86
是什么没有安装?

ccyou 发表于 2005-3-3 14:55:45

偶也关心这个问题
但我更想知道字符界面下能否改刷新率?

sutie 发表于 2005-3-3 15:10:03

# File generated by anaconda.

Section "ServerLayout"
      Identifier   "Anaconda Configured"
      Screen      0"Screen0" 0 0
      InputDevice    "Mouse0" "CorePointer"
      InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.

    RgbPath        "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "unix/:7100"

EndSection

Section "Module"
      Load"GLcore"
      Load"dbe"
      Load"extmod"
        Load "fbdevhw"
        Load "dri"
      Load"glx"
      Load"record"
      Load"freetype"
      Load"type1"
EndSection

Section "InputDevice"
      Identifier"Keyboard0"
      Driver      "keyboard"

#        Option        "AutoRepeat"        "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "Protocol"        "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
        Option        "XkbRules"        "xfree86"
        Option        "XkbModel"        "pc105"
        Option        "XkbLayout"        "us"
        #Option        "XkbVariant"        ""
        #Option        "XkbOptions"        ""
EndSection

Section "InputDevice"
      Identifier"Mouse0"
      Driver      "mouse"
      Option      "Protocol" "PS/2"
      Option      "Device" "/dev/psaux"
      Option      "ZAxisMapping" "4 5"
      Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
      Identifier   "Monitor0"
      VendorName   "Monitor Vendor"
      ModelName    "Monitor Model"
      HorizSync   31.5-48.5
      VertRefresh 50-70
      Option "dpms"

      # -- 1400x1050 --
      # 1400x1050 @ 60Hz, 65.8 kHz hsync
      Modeline "1400x1050"129   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 70Hz, 76.8 kHz hsync
      Modeline "1400x1050"151   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 75Hz, 82.3 kHz hsync
      Modeline "1400x1050"162   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

      # 1400x1050 @ 85Hz, 93.2 kHz hsync
      Modeline "1400x1050"184   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Device"
        # no known options
        Identifier   "VESA driver (generic)"
      Driver       "vesa"
      VendorName   "VESA driver (generic)"
      BoardName   "VESA driver (generic)"
      
      #BusID
EndSection

Section "Screen"
        Identifier   "Screen0"
      Device       "VESA driver (generic)"
      Monitor      "Monitor0"
        DefaultDepth        16

        Subsection "Display"
              Depth       16
                Modes       "800x600" "640x480"
        EndSubsection

EndSection

Section "DRI"
        Mode 0666
EndSection

试试!

sutie 发表于 2005-3-3 15:11:10

偶也关心这个问题
但我更想知道字符界面下能否改刷新率?

去shell那里找,有人问过了!

sutie 发表于 2005-3-3 15:14:38

要改刷新率的话,需要你的显示器说明书上面标明的行频和场频,也叫水平刷新率和垂直刷新率!

如果没有说明书的话刷新率你只能像现在这样凑合了!

vovi 发表于 2005-3-4 12:09:09

谢谢sutie
页: [1]
查看完整版本: 7.3下如何通过配置文件修改分辨率呢?