Section"InputDevice"Driver"wacom"Identifier"stylus"#Option "Device" "/dev/ttyS0" # SERIAL TabletOption"Device""/dev/input/wacom"# USB TabletOption"Type""stylus"# Stylus pen tipOption"USB""on"# USB TabletOption"Mode""absolute"# Position on the tablet#Option "ForceDevice" "ISDV4" # Tablet PC ONLY#Option "HistorySize" "64" # Buffer sizeOption"Tilt""on"# Tilt#Option "TiltInvert" "on" # Tilt inversionOption"Threshold""5"# pressure sensitivityEndSection
Section"InputDevice"Driver"wacom"Identifier"eraser"#Option "Device" "/dev/ttyS0" # SERIAL TabletOption"Device""/dev/input/wacom"# USB TabletOption"Type""eraser"# pen eraser tipOption"USB""on"# USB TabletOption"Mode""absolute"# Position on the tablet#Option "ForceDevice" "ISDV4" # Tablet PC ONLY#Option "HistorySize" "64" # Buffer sizeOption"Tilt""on"# Tilt#Option "TiltInvert" "on" # Tilt inversionOption"Threshold""5"# pressure sensitivityEndSection
Section"InputDevice"Driver"wacom"Identifier"cursor"#Option "Device" "/dev/ttyS0" # SERIAL TabletOption"Device""/dev/input/wacom"# USB TabletOption"Type""cursor"Option"USB""on"# USB TabletOption"Mode""absolute"# Position on the tablet#Option "ForceDevice" "ISDV4" # Tablet PC ONLY#Option "HistorySize" "64" # Buffer sizeEndSection
Section"ServerLayout"Identifier"Default Layout"Screen"Default Screen"InputDevice"Generic Keyboard"InputDevice"Configured Mouse"InputDevice"stylus""SendCoreEvents"InputDevice"eraser""SendCoreEvents"InputDevice"cursor""SendCoreEvents"# for non-LCD tablets onlyInputDevice"pad"# for Intuos3/Cintiq 21UX/Graphire4 tablets and should not send core eventsEndSection
xsetwacomsetpadAbsWUp4#scroll upxsetwacomsetpadAbsWDn5#scroll downxsetwacomsetpadbutton34# key: scroll upxsetwacomsetpadbutton15# key: scroll dnxsetwacomsetpadbutton21#FN1 key: left mouse buttonxsetwacomsetpadbutton43#FN2 key: right mouse button
The Gimp
And for Gimp? Why doesn't it work perfectly? Well, it can work well!
Go to File > Preferences > Input Devices and click on the "Configure Extended Input Devices" button.
In the device list, select each of the "stylus", "eraser" and "pad" items, and set the "Mode" option to "Screen" for each one.
Click on "Save"
You can now use your tablet with Gimp.
However, by default the stylus and eraser are configured to use the same tool. To change this, turn your pen to use the "eraser" end and select a tool (like the eraser...). It will now be associated with that end :)
# xorg.conf (X.Org 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-xorgSection"InputDevice"Identifier"Generic Keyboard"Driver"kbd"Option"XkbRules""xorg"Option"XkbModel""pc105"Option"XkbLayout""fr"Option"XkbVariant""oss"EndSection
Section"InputDevice"Identifier"Configured Mouse"Driver"mouse"Option"CorePointer"Option"Device""/dev/input/mice"Option"Protocol""ImPS/2"Option"ZAxisMapping""4 5"Option"Emulate3Buttons""true"EndSection
Section"InputDevice"Driver"wacom"Identifier"stylus"Option"Device""/dev/input/wacom"Option"Type""stylus"# Option "ForceDevice" "ISDV4" # Tablet PC ONLYOption"USB""on"EndSection
Section"InputDevice"Driver"wacom"Identifier"eraser"Option"Device""/dev/input/wacom"Option"Type""eraser"# Option "ForceDevice" "ISDV4" # Tablet PC ONLYOption"USB""on"EndSection
Section"InputDevice"Driver"wacom"Identifier"cursor"Option"Device""/dev/input/wacom"Option"Type""cursor"# Option "ForceDevice" "ISDV4" # Tablet PC ONLYOption"USB""on"EndSection
Section"InputDevice"Driver"wacom"Identifier"pad"Option"Device""/dev/input/wacom"Option"Type""pad"Option"USB""on"EndSection
Section"Device"Identifier"Configured Video Device"Driver"nvidia"Option"NoLogo""True"EndSection
Section"Monitor"Identifier"Configured Monitor"EndSection
Section"Screen"Identifier"Default Screen"Monitor"Configured Monitor"Device"Configured Video Device"Defaultdepth24Option"RenderAccel""True"Option"TwinView"Option"TwinViewOrientation""LeftOf"Option"MetaModes""1280×1024 1280×1024"EndSection
Section"ServerLayout"Identifier"Default Layout"screen"Default Screen"InputDevice"stylus""SendCoreEvents"InputDevice"cursor""SendCoreEvents"InputDevice"eraser""SendCoreEvents"InputDevice"pad"EndSection
Section"Module"Load"glx"EndSection