/etc/X11/xorg.conf

# /etc/X11/xorg.conf
#
# LOG:
# version 0.2 (2008 May 7)
# version 0.1 (?? ??, ??)
#
# NOTES:
# The touchpad acceleration options are still not ideal.
#

# xorg.conf (xorg 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ImPS/2"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "InputDevice"
    Identifier    "Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/input/by-path/platform-i8042-serio-4-mouse"
    Option        "Protocol"        "auto-dev"
    Option        "LeftEdge"        "1400"
    Option        "RightEdge"        "5500"
    Option        "TopEdge"        "1700"
    Option        "BottomEdge"        "4400"
    Option        "FingerLow"        "25"
    Option        "FingerHigh"        "30"
    Option        "MaxTapTime"        "180"
    Option        "MaxTapMove"        "220"
    Option        "VertEdgeScroll"    "true"
    Option        "HorizEdgeScroll"    "true"
    Option        "VertScrollDelta"    "100"
    Option        "HorizScrollDelta"    "100"
    Option        "MinSpeed"        "0.1"
    Option        "MaxSpeed"        "0.5"
    Option        "AccelFactor"        "0.001"
    Option        "SHMConfig"        "on"
EndSection

Section "Device"
    Identifier    "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
    Driver        "ati"
    BusID        "PCI:1:5:0"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Modes        "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Mouse"
    InputDevice    "Touchpad"
EndSection

An older version which worked with Beryl (but couldn’t suspend to disk):

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
    FontPath    "/usr/share/X11/fonts/misc"
    FontPath    "/usr/share/X11/fonts/cyrillic"
    FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/Type1"
    FontPath    "/usr/share/X11/fonts/100dpi"
    FontPath    "/usr/share/X11/fonts/75dpi"
    FontPath    "/usr/share/fonts/X11/misc"
    # path to defoma fonts
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load    "i2c"
    Load    "bitmap"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
#    Option        "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier    "Touchpad"
    Driver        "synaptics"
    Option        "Device"        "/dev/input/by-path/platform-i8042-serio-3-"
    Option        "Protocol"      "auto-dev"
    Option        "LeftEdge"      "1400"
    Option        "RightEdge"     "5500"
    Option        "TopEdge"       "1700"
    Option        "BottomEdge"    "4400"
    Option        "FingerLow"     "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "180"
    Option        "MaxTapMove"    "220"
    Option        "VertEdgeScroll" "true"
    Option        "HorizEdgeScroll" "true"
    Option        "VertScrollDelta" "100"
    Option        "HorizScrollDelta" "100"
    Option        "MinSpeed"      "0.05"
    Option        "MaxSpeed"      "0.18"
    Option        "AccelFactor"   "0.0005"
    Option        "SHMConfig"     "on"
EndSection

Section "InputDevice"
    Identifier    "Mouse"
    Driver        "mouse"
    Option        "Device"        "/dev/input/mice"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon Mobility 9100 U3 (R200 IGP)"
    Driver        "ati"
    Option        "DRI" "true"
    Option        "ColorTiling" "on"
    Option        "EnablePageFlip" "true"
    Option        "AccelMethod" "EXA"
    Option        "EXANoOffscreenPixmaps"
    Option        "RenderAccel" "true"
    Option        "AGPFastWrite" "on"
    BusID        "PCI:1:5:0"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
    HorizSync    28-51
    VertRefresh    43-60
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "ATI Technologies, Inc. Radeon Mobility 9100 U3 (R200 IGP)"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Depth        24
        Modes        "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    Option        "AIGLX" "true"
    InputDevice    "Generic Keyboard"
    InputDevice    "Touchpad"        "SendCoreEvents"
    InputDevice    "Mouse"            "CorePointer"
EndSection

Section "DRI"
    Mode    0666
EndSection
About these ads

2 Responses to /etc/X11/xorg.conf

  1. here says:

    Is it alright to place part of this in my web site if perhaps I publish a reference to this website?

  2. Constantin says:

    Sure; feel free to copy anything from this particular post.

Follow

Get every new post delivered to your Inbox.

Join 26 other followers

%d bloggers like this: