Chinaunix

标题: 请问怎么修改刷新率? [打印本页]

作者: 小蓝羽    时间: 2005-04-03 14:23
标题: 请问怎么修改刷新率?
在vmware下,已经安装了vmware tools,现在屏幕是1024x768,但是刷新频率不对,请问怎么修改到85呢?
下面是我安装vmware tools以后的XF86Config的内容.请问怎么修改刷新频率?


# XFree87 4 configuration created by redhat-config-xfree86
Section "Files"
# RgbPath is 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.
                                                                                                                                             
# 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.
                                                                                                                                             
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       FontPath     "unix/:7100"
EndSection
Section "Module"
       Load  "dbe"
       Load  "extmod"
       Load  "fbdevhw"
       Load  "glx"
       Load  "record"
       Load  "freetype"
       Load  "type1"
EndSection
Section "InputDevice"
# 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:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option      "XkbRules" "xfree86"
       Option      "XkbModel" "pc105"
       Option      "XkbLayout" "us"
EndSection
# VMware SVGA
                                                                                                                                             
                                                                                                                                             
                                                                                                                                             
Section "ServerFlags"
#    Option NoTrapSignals
EndSection
Section "InputDevice"
   Identifier  "Mouse1"
   Driver      "vmmouse"
   Option "rotocol"    "IMPS/2"
   Option "Device"      "/dev/psaux"
   Option "ZAxisMapping"       "4 5"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection
                                                                                                                                             
Section "Monitor"
   Identifier  "vmware"
   VendorName "VMware, Inc"
   HorizSync 1-10000
   VertRefresh 1-10000
                                                                                                                                             
   ModeLine "640x480" 100 640 700 800 900 480 500 600 700
   ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
   ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
   ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
   ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
   ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
   ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
   ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
   ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000
EndSection
                                                                                                                                             
Section "Device"
   Identifier  "VMware SVGA"
   Driver      "vmware"
                                                                                                                                             
EndSection
                                                                                                                                             
Section "Screen"
   Identifier  "Screen 1"
   Device      "VMware SVGA"
   Monitor     "vmware"

   # Don't specify DefaultColorDepth unless you know what you're
   # doing. It will override the driver's preferences which can
   # cause the X server not to run if the host doesn't support the
   # depth.
                                                                                                                                             
   Subsection "Display"
       # VGA mode: better left untouched
       Depth       4
       Modes       "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       8
       Modes "1024x768"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       15
       Modes "1024x768"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes "1024x768"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes "1024x768"
       ViewPort    0 0
   EndSubsection
EndSection
                                                                                                                                             
Section "ServerLayout"
   Identifier  "Simple Layout"
   Screen "Screen 1"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard0" "CoreKeyboard"
EndSection

谢谢!
作者: springwind426    时间: 2005-04-03 15:37
标题: 请问怎么修改刷新率?
VertRefresh 1-10000

==>;    VertRefresh 85




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2