This HOW-TO is written for USB Wacom Tablet devices.
Some links for reference:
Ubuntu Tablet Wiki Page
Wacom Help Page
Once you have some success these links will make more sense. Theres TONS of good info that will make working in The GIMP better.
1. Connect your USB Wacom Tablet device
2. Install "wacom-tools". This is need to set the event in your xorg.conf.
In a terminal:
Or find "wacom-tools" in Synaptic.Code:sudo apt-get install wacom-tools
3. Edit this below Section "InputDevice" under the "Configured Mouse". Make sure you use the right "Device" based on how your pad is connected. ie: USB or serial.
If you have a Intuos3 or Cintiq 21UX add this section. (Untested by me)Code:Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/ttyS0" #SERIAL ONLY Option "Device" "/dev/input/wacom" #USB ONLY Option "Type" "stylus" Option "USB" "on" #USB ONLY Option "ForceDevice" "ISDV4" #Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/ttyS0" #SERIAL ONLY Option "Device" "/dev/input/wacom" #USB ONLY Option "Type" "eraser" Option "USB" "on" #USB ONLY Option "ForceDevice" "ISDV4" #Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/ttyS0" #SERIAL ONLY Option "Device" "/dev/input/wacom" #USB ONLY Option "Type" "cursor" Option "Mode" "relative" Option "USB" "on" #USB ONLY Option "ForceDevice" "ISDV4" #Tablet PC ONLY EndSection
4. Add these lines to the Section "ServerLayout".Code:Section "InputDevice" Driver "wacom" Identifier "pad" Option "Device" "/dev/ttyS0" #SERIAL ONLY Option "Device" "/dev/input/wacom" #USB ONLY Option "Type" "pad" Option "USB" "on" #USB ONLY EndSection
*NOTE*Code: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 only InputDevice "pad" #For Intuos3/Cintiq 21UX/Graphire4 tablets. It should NOT send core event EndSection
You can adjust the pressure curves on your tablet. Just adjust the "PressCurve" line at bottom of the stylus section.
Example:
This edit will make the drawn lines appear lighter. you can still get really dark lines, you just have to press harder. Makes it easier to make really light or faint changes. -Thanx graigsmith.Code:Option "PressCurve" "50,0,100,50"
5. Reboot or restart X with ctrl-alt-backspace and launch The GIMP
6.Enable the tablet in applications.
The GIMP
- File-> Preferences-> Input Devices-> "Configure Extended Input Devices".
- Under "Device" you will have 3 settings: Cursor, Eraser and Stylus. Set them from "Disabled" to "Screen".
Now you should have pressure sensitivity in The GIMP.
Also, a useability note with Gimp:
Each input device (stylus,cursor,eraser) has a completely different set of attributes in Gimp, and in theory, you can even assign a unique serial number to different pens to get even more granularity. You will experience this when you try to use your eraser for the first time. Rather than selecting the eraser tool, you get the rectangle selection tool instead. This is by design, believe it or not. Gimp does not care that its an eraser, just that it's not the pen you were just using. If you choose the eraser tool now, it will remember that for the next time you try to use it. On the plus side, you can set the eraser to be anything, including the Airbrush tool or Clone tool.
-Taken from The Wacom Help Page.
Inkscape
- File-> "Input Devices...".
(The dialog is the same as The GIMP)
- Under "Device" you will have 3 settings: Cursor, Eraser and Stylus. Set them from "Disabled" to "Screen".
Krita
- Settings-> "Configure Krita..." then click on the "Tablet" icon.
- Check the "Enable" boxes for all 3 Devices.
Do you know of more apps that use a tablet?
If anyone has info to make this better let me know.
Bookmarks