# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type “man XF86Config-4″ at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#如果运行dpkg-reconfigure xserver-xfree86不能生成更新的XF86Config-4,请执行下面三步
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom       
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section “Files”
FontPath “/usr/share/fonts/truetype/hiweed”
    FontPath    ”unix/:7100″            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    ”/usr/lib/X11/fonts/misc”
    FontPath    ”/usr/lib/X11/fonts/cyrillic”
    FontPath    ”/usr/lib/X11/fonts/100dpi/:unscaled”
    FontPath    ”/usr/lib/X11/fonts/75dpi/:unscaled”
    FontPath    ”/usr/lib/X11/fonts/Type1″
    FontPath    ”/usr/lib/X11/fonts/CID”
    FontPath    ”/usr/lib/X11/fonts/Speedo”
    FontPath    ”/usr/lib/X11/fonts/100dpi”
    FontPath    ”/usr/lib/X11/fonts/75dpi”
EndSection
Section “Module”
    Load    ”GLcore”
    Load    ”bitmap”
    Load    ”dbe”
    Load    ”ddc”
    Load    ”dri”
    Load    ”extmod”
    Load    ”glx”
    Load    ”int10″
    Load    ”record”
    Load    ”speedo”
    Load    ”vbea”
    Load    “type1″
    Load    ”xtt”
EndSection
Section “InputDevice”
    Identifier    ”Generic Keyboard”
    Driver        ”keyboard”
    Option        ”CoreKeyboard”
    Option        ”XkbRules”    ”xfree86″
    Option        ”XkbModel”    ”pc104″
    Option        ”XkbLayout”    ”us”
#    Option        ”XkbOptions”    ”CoreKeyboard”
EndSection
Section “InputDevice”
    Identifier    ”Configured Mouse”
    Driver        ”mouse”
    Option        ”CorePointer”
    Option        ”Device”        ”/dev/psaux”
    Option        ”Protocol”        ”ImPS/2″                         # ———有关老鼠轮
    Option        ”Emulate3Buttons”    ”true”
    Option        ”ZAxisMapping”        ”4 5″
EndSection

Section “InputDevice”
    Identifier    ”Generic Mouse”
    Driver        ”mouse”
    Option        ”SendCoreEvents”    ”true”
    Option        ”Device”        ”/dev/input/mice”
    Option        ”Protocol”        ”ImPS/2″
    Option        ”Emulate3Buttons”    ”true”
    Option        ”ZAxisMapping”        ”4 5″
EndSection
Section “Device”
    Identifier    ”NeoMagic (laptop/notebook)”                   #这全是我google找了手工填上去的。不容易啊
    Driver        ”neomagic”
#    BusID        ”PCI:0000:01:00″                       #———-这家伙是多个显卡用的,不知道加上去了,所以注释了。
    VideoRam    2560
EndSection

#—-下面这一节可能更准确,因为是debian sarge 3.1 kernel 2.4.27自认的,当然在Screen一节也需要改一下。不过我没觉出来和#上面的有什么区别。
#Section “Device”
#       Identifier      “NeoMagic Corporation NM2200 [MagicGraph 256AV]“
#       Driver          “neomagic”
#       Option          “UseFBDev”              “true”
#        VideoRam    2560                                                              #–呵呵,它还不能测出显存,自己加的了。
#EndSection

Section “Monitor”
    Identifier    ”Generic|LCD Panel 1024×768″                         #用回原参数,爽
    HorizSync    30-64
    VertRefresh    50-100
    Option        ”DPMS”
EndSection
Section “Screen”
    Identifier    ”Default Screen”
    Device        ”NeoMagic (laptop/notebook)”
    Monitor        ”Generic|LCD Panel 1024×768″
    DefaultDepth    16
    SubSection “Display”
        Depth        1
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
    SubSection “Display”
        Depth        4
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
    SubSection “Display”
        Depth        8
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
    SubSection “Display”
        Depth        15
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
    SubSection “Display”
        Depth        16
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
    SubSection “Display”
        Depth        24
        Modes        ”1024×768″ “800×600″ “640×480″
    EndSubSection
EndSection
Section “ServerLayout”
    Identifier    ”Default Layout”
    Screen        ”Default Screen”
    InputDevice    ”Generic Keyboard”
    InputDevice    ”Configured Mouse”
    InputDevice    ”Generic Mouse”
EndSection
Section “DRI”                         #好象是用上openGL?  在内核配置里好象有这一项?
    Mode    0666
EndSection


2条评论

  1. 这个是什么??

    看不明白

  2. 这是命令

    #dpkg-reconfigure xsession-xfree86

    生成的/etc/X11/XF86Config-4文件。

    记不准了,还是

    #dpkg-reconfigure xserver-xfree86

发表评论

评论也有版权!

click to change验证码