Setting up the Tablet
Thinkpad x61 or x60 tablet only (I think. But it might work for other wacom tablet computers as well.)
This again requires editing the xorg.conf file, so make sure you have at least one backed up copy of it already. If not, see the Middle Mouse Scroll section. Backing up xorg.conf before making edits is VERY IMPORTANT.
in a terminal:
sudo gedit /etc/X11/xorg.conf
then scroll down the the very bottom. Here you will find a section that looks like this:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
(of course, the correct line spacing will actually work… unlike wordpress’s)
change that so that it looks like this:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
#added to get tablet working
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "touch" "SendCoreEvents"
EndSection
Then, above that, make a few more lines, and then add in this:
#BEGIN TABLET SECTION
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button2" "3" # Added for stylus click
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "eraser"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "Button3" "2" # Added for eraser working
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "cursor"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
# This section is for the TabletPC that supports touch
Section "InputDevice"
Driver "wacom"
Identifier "touch"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "touch"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on" # USB ONLY
EndSection
#END TABLET SECTION
Now I would like to note that “touch” does not work yet with this tablet driver. However, It was in the manual, which means that it eventually could work, which would be amazing. It does not cause me any errors to have it in there though, so I figure it won’t hurt. If you wish, remove the section “for the TabletPC that supports touch” and the “touch” line in the server layout section at the bottom.
With this setting, the tip of the pen will act as a regular “left-click”, the button on the pen will act as a “right-click” and the eraser will act as a regular left-click except in applications that support the eraser.
My favorite of such eraser-supporting applications is called xournal. This is a note-taking program that allows a combination of tablet and typing, and lets you annotate PDF files. Very handy for taking notes in my engineering classes. However the eraser does not work correctly by default in this program. In order to get it to work go to Options, and check Use XInput, Discard Core Events, and Eraser Tip. Then, Options > Button 3 Mapping > Highlighter, and back to Options to select Auto-Save Preferences and Save Preferences. Then your pen will work nicely in Xournal from now on.

References: The Linux Wacom Project (man wacdump)
Recent Comments