xorg.conf + wacom

A full example xorg.conf for using wacom.

# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
<strong>    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "pad" "SendCoreEvents"</strong>
EndSection

Section "ServerFlags"
    Option      "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "Emulate3Buttons" "no"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us+inet"
EndSection

<strong>Section "InputDevice"
    Identifier  "stylus"
    Driver      "wacom"
    Option      "Device" "/dev/input/wacom"
    Option      "Type" "stylus"
    Option      "USB" "on"
    Option      "Tilt" "on"
    Option      "PressCurve" "0,0,100,100"
    Option      "Mode" "Absolute"
    Option      "Speed" "1.5"
EndSection

Section "InputDevice"
    Identifier  "eraser"
    Driver      "wacom"
    Option      "Device" "/dev/input/wacom"
    Option      "Type" "eraser"
    Option      "USB" "on"
    Option      "PressCurve" "0,0,100,100"
    Option      "Mode" "Absolute"
    Option      "Speed" "1.5"
EndSection

Section "InputDevice"
    Identifier  "cursor"
    Driver      "wacom"
    Option      "Device" "/dev/input/wacom"   # USB ONLY
    Option      "Type" "cursor"
    Option      "USB" "on"                  # USB ONLY
    Option      "Speed" "1.5"
EndSection

Section "InputDevice"
    Identifier  "pad"
    Driver      "wacom"
    Option      "Device" "/dev/input/wacom"
    Option      "Type" "pad"
    Option      "USB" "on"
    Option      "Button1" "6"
    Option      "Button2" "7"
    Option      "Button3" "4"
    Option      "Button4" "5"
EndSection
</strong>
Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Unknown"
    ModelName    "Samsung SyncMaster"
    HorizSync    30.0 - 121.0
    VertRefresh  50.0 - 160.0
    Option      "DPMS"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BoardName   "Quadro FX 1300"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor    "Monitor0"
    DefaultDepth     24
    Option      "TwinView" "0"
    Option      "TwinViewXineramaInfoOrder" "CRT-0"
    Option      "metamodes" "1600x1200 +0+0"
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection
avatar

About tompos

Hungary, Budapest
This entry was posted in BSD, IT, Linux, Uncategorized. Bookmark the permalink.

Leave a Reply