|
 |
Friday, September 26. 2008
 My new tablet (Wacom Intuos 3 USB — the much larger than it looks A5 variant) has arrived, and I got it to work.
On Linux.
The trick is to throw out the stock kernel modules and use the linuxwacom ones instead. Edit xorg.conf (yast2 doesn't add a pad section for the tablet's expresskeys and the strips), configure the strips and expresskeys using wacomcpl (written to ~/.xinitrc / ~/.xsession), enable the new inputs in GIMP and inskcape (without worrying too much what the funny numbers or the "disabled" buttons mean), set up a good work environment in the GIMP (like you've been meaning to forever — I'm left handed, so all the tools and dialogs go to the left so I can rest my hand while drawing if I want; for me, that's tools, custom colour palette, brushes/fonts/gradients/patterns in the leftmost colum; paths, layers, tool options in the next column, and the rest of the screen estate for the actual image), and you're ready to roll: Then, it's just a matter of learning to draw on a tablet again …
Example ~/.xinitrc snippet:
## make right strip equivalent to mouse-wheel
xsetwacom set pad StripRDn "Button 5"
xsetwacom set pad StripRUp "Button 4"
## put Control, Alt, Shift, Super (Win) on right button-block
xsetwacom set pad Button8 "CORE KEY SUPER"
xsetwacom set pad Button7 "CORE KEY CTRL"
xsetwacom set pad Button6 "CORE KEY ALT"
xsetwacom set pad Button5 "CORE KEY SHIFT"
## F11/F12 are previous/next drawing tool in my GIMP, so put them on the left strip
## It's worth configuring the combos (within GIMP) too, so Alt-LeftStrip changes through
## the brushes etc.
xsetwacom set pad StripLDn "CORE KEY F11"
xsetwacom set pad StripLUp "CORE KEY F12"
## You probably don't want this. I have GIMP-desktop/main-desktop/undo/redo on the
## left button-block. choose whatever you like. If wacomexpresskeys
## works for you, you can also make these settings different for each application!
xsetwacom set pad Button4 "CORE KEY ALT F4"
xsetwacom set pad Button3 "CORE KEY ALT F1"
xsetwacom set pad Button2 "CORE KEY CTRL z"
xsetwacom set pad Button1 "CORE KEY CTRL y"
Example /etc/X11/xorg.conf snippet:
## may already have an entry for mouse
Section "InputDevice"
Driver "mouse"
Identifier "mouse"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
Option "Name" "Wacom PTZ-630"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection
## now for the actual tablet
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "InputFashion" "Eraser"
Option "Mode" "Absolute"
Option "Name" "INTUOS v1-3 Eraser (USB)"
Option "Protocol" "Auto"
Option "Tilt" "on"
Option "Type" "eraser"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection
## pad is for the expresskeys, strips, and other stuff on the actual tablet
## rather than the pen/mouse/... (or rather, stylus/cursor/...)
Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/wacom"
Option "InputFashion" "Pad"
Option "Name" "INTUOS v1-3 (USB)"
Option "Type" "pad"
Option "ButtonsOnly" "off"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection
## the cursor (the funny wacom mouse)
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "InputFashion" "Tablet"
Option "Mode" "Relative"
Option "Name" "INTUOS v1-3 (USB)"
Option "Tilt" "on"
Option "Type" "cursor"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection
## the stylus (or pen)
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "InputFashion" "Pen"
Option "Mode" "Absolute"
Option "Name" "INTUOS v1-3 Stylus (USB)"
Option "Protocol" "Auto"
Option "Tilt" "on"
Option "Type" "stylus"
Option "USB" "on"
Option "Vendor" "WACOM"
EndSection
...
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "mouse" "CorePointer"
InputDevice "eraser" "SendCoreEvents"
# InputDevice "touchpad" "SendCoreEvents" ## activate if you have a pad
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "pad"
## whatever screen-related options you want/need; these are mine:
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
...
In closing, thanks linuxwacom team for the drivers! Thanks #linuxwacom for listening to my whining!
|
|
 |
 |
 |
|