我笔记本上的xorg.cong文件

本文档展示了如何配置Xorg.conf文件以优化笔记本的键盘、鼠标和触摸板。详细说明了ServerLayout、Files、Module、InputDevice、Monitor、Device和Screen等各部分的设置,包括键盘布局、鼠标设备、Synaptics触摸板参数调整以及NVIDIA显卡的配置选项,以确保X Window系统的稳定运行和高效输入体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen         "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Synaptics Touchpad" "AlwaysCore"
    Option         "OffTime" "20"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc/"
    FontPath     "/usr/share/fonts/TTF/"
#    FontPath     "/usr/share/fonts/OTF"
    FontPath     "/usr/share/fonts/Type1/"
    FontPath     "/usr/share/fonts/100dpi/"
    FontPath     "/usr/share/fonts/75dpi/"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbRules" "xorg"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Synaptics Touchpad"
    Driver         "synaptics"
    Option         "Device" "/dev/input/mouse1"
    Option         "Protocol" "auto"
    Option         "LeftEdge" "130"
    Option         "RightEdge" "840"
    Option         "TopEdge" "130"
    Option         "BottomEdge" "640"
    Option         "FingerLow" "7"
    Option         "FingerHigh" "8"
    Option         "MaxTapTime" "180"
    Option         "MaxTapMove" "110"
    Option         "VertScrollDelta" "20"
    Option         "HorizScrollDelta" "20"
    Option         "MinSpeed" "0.60"
    Option         "MaxSpeed" "1.10"
    Option         "AccelFactor" "0.030"
    Option         "EdgeMotionMinSpeed" "200"
    Option         "EdgeMotionMaxSpeed" "200"
    Option         "UpDownScrolling" "on"
    Option         "CircularScrolling" "1"
    Option         "CircScrollDelta" "0.1"
    Option         "CircScrollTrigger" "2"
    Option         "SHMConfig" "on"
     Option         "EmulateMidButtonTime" "75"
#    Option         "Emulate3Buttons" "on"
#    Option           "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync     28.0 - 51.0
    VertRefresh   43.0 - 60.0
    Option       "DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "NV17 [GeForce4 420 Go]"
    BusID       "PCI:1:0:0"
    Option      "AddARGBGLXVisuals" "true"
    # This option must be either undeclared or
    # false, in order to avoid periodic short-term
    # freezes on beryl and other OpenGL intensive
    # programs
    Option      "UseEvents"         "false"
    Option      "RenderAccel"       "true"
    Option      "DPMS" "true"
EndSection

Section "Extensions"
    Option      "Composite" "enable"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    Option     "DPI" "96 x 96"
    Option     "UseDisplayDevice" "DFP-0"
    Option     "CustomEDID" "DFP-0:/etc/X11/myedid.bin"
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1024x768"
    EndSubSection
EndSection
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值