QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1313|回复: 8

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

[复制链接]
发表于 2005-3-3 13:47:54 | 显示全部楼层 |阅读模式
求助.1024的想改成800
发表于 2005-3-3 13:52:26 | 显示全部楼层
把你/etc/X11下面的 Xfree86-4(好象是这个名字)贴上来!
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

 楼主| 发表于 2005-3-3 14:27:24 | 显示全部楼层
是不是修改这个地方的顺序.
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

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

使用道具 举报

发表于 2005-3-3 14:55:45 | 显示全部楼层
偶也关心这个问题
但我更想知道字符界面下能否改刷新率?
回复

使用道具 举报

发表于 2005-3-3 15:10:03 | 显示全部楼层
[quote:b37ecb0402="vovi"]# 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[/quote]

试试!
回复

使用道具 举报

发表于 2005-3-3 15:11:10 | 显示全部楼层
[quote:f142076e29="ccyou"]偶也关心这个问题
但我更想知道字符界面下能否改刷新率?[/quote]

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

使用道具 举报

发表于 2005-3-3 15:14:38 | 显示全部楼层
要改刷新率的话,需要你的显示器说明书上面标明的行频和场频,也叫水平刷新率和垂直刷新率!

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

使用道具 举报

 楼主| 发表于 2005-3-4 12:09:09 | 显示全部楼层
谢谢sutie
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-12 21:30 , Processed in 0.059684 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表