个人工具

“UbuntuHelp:Wacom”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的7个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Wacom}}
 
{{From|https://help.ubuntu.com/community/Wacom}}
 
{{Languages|UbuntuHelp:Wacom}}
 
{{Languages|UbuntuHelp:Wacom}}
''Under Ubuntu 7.04 Feisty Fawn or later, thanks to updated drivers, you should have nothing more to do than plug in your tablet '''for most tablets'''. You may have to restart the X server by pressing Ctrl-Alt-Backspace or logging out then logging back in after you have closed all your applications.''
+
''To discuss this guide, please use [http://ubuntuforums.org/showthread.php?t=967147 this Ubuntu forums thread].''
=== Bamboo Series ===
+
In all cases, please take note that after having changed the configuration (if it was necessary), you will also have to configure the [[UbuntuHelp:[Extended|"Extended input devices"]]] in the programs you use, like Gimp or Inkscape. Don't forget to register your Wacom tablet on [http://www.wacom.com/ the Wacom web site], since you can specify Linux as the system you're using.
''The Bamboo series tablets require the latest development Wacom drivers, which must be installed manually''
+
For all Ubuntu versions, using Synaptic package manager<<FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)>> or Adept package manager<<FootNote(KMenu>System>Adept Manager)>>, check first if the packages xserver-xorg-input-wacom and wacom-tools are already installed on your system - if not, install them.
See http://ubuntuforums.org/showpost.php?p=4253232&postcount=133 for a howto
+
Alternatively, you can use the command line : <pre><nowiki>
=== Graphire Bluetooth ===
+
sudo apt-get install xserver-xorg-input-wacom wacom-tools</nowiki></pre>
''Unfortunately the Graphire '''Bluetooth''' requires changes to the kernel hidp module to work.''
+
Plug the tablet in, then restart Ubuntu.
See WacomGraphireBluetooth for instructions on how to get this tablet working.
+
''NOTE: there is no package <code><nowiki>wacom-tools</nowiki></code> in Ubuntu 10.04 any more, so you'll have to use your tablet without it.''
=== Others ===
+
== Ubuntu 10.04 (Lucid Lynx) ==
You'll need to uncomment (or put) some lines in /etc/X11/xorg.conf to get the tablet working properly:<pre><nowiki># Uncomment if you have a wacom tablet
+
=== Method 1 ===
        InputDevice    "stylus"        "SendCoreEvents"
+
Instead of editing <code><nowiki>xorg.conf</nowiki></code>, in Ubuntu 10.04 you edit <code><nowiki>/usr/lib/X11/xorg.conf.d/10-wacom.conf</nowiki></code> in the same way that is mentioned at the bottom of this Wiki page to edit <code><nowiki>xorg.conf</nowiki></code>. You can enter this commandd to edit mentioned file:
        InputDevice    "cursor"        "SendCoreEvents"
+
<pre><nowiki>
        InputDevice    "eraser"        "SendCoreEvents"</nowiki></pre>
+
gksudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf
=== Dapper (6.06) and Edgy (6.10) ===
+
</nowiki></pre>
''Under Ubuntu Dapper or Edgy, installing an USB Wacom tablet is straightforward. Remember to plug in your tablet before you boot; it makes things simpler.''
+
After you enter your password, Gedit window opens and you can edit your options. This is my <code><nowiki>/usr/lib/X11/xorg.conf.d/10-wacom.conf</nowiki></code> file:
 +
<pre><nowiki>
 +
Section "InputClass"
 +
Identifier "Wacom class"
 +
MatchProduct "Wacom|WACOM"
 +
MatchDevicePath "/dev/input/event*"
 +
Driver "wacom"
 +
#Option "Button2" "2"
 +
#Option "Button3" "3"
 +
Option "KeepShape" "on"
 +
EndSection
 +
 
 +
Section "InputClass"
 +
Identifier "Wacom serial class"
 +
MatchProduct "Serial Wacom Tablet"
 +
Driver "wacom"
 +
Option "ForceDevice" "ISDV4"
 +
EndSection
 +
 
 +
# N-Trig Duosense Electromagnetic Digitizer
 +
Section "InputClass"
 +
Identifier "Wacom N-Trig class"
 +
MatchProduct "HID 1b96:0001"
 +
MatchDevicePath "/dev/input/event*"
 +
Driver "wacom"
 +
EndSection
 +
</nowiki></pre>
 +
These are the only options i have added to default Ubuntu file:
 +
<pre><nowiki>
 +
#Option "Button2" "2"
 +
#Option "Button3" "3"
 +
Option "KeepShape" "on"
 +
</nowiki></pre>
 +
First two options can be used to remap buttons (# sign means that the option is disabled until # is removed), and third option is used like "Force proportions" option in Microsoft Windows operating system. Essentially it corrects difference between your monitor aspect ratio and aspect ratio of your tablet.
 +
Remember, you add your options in Section "InputClass". Enter this in your terminal for more options you can put in this section:
 +
<pre><nowiki>
 +
man wacom
 +
</nowiki></pre>
 +
To leave "man" page after you have found options you need type <code><nowiki>:q</nowiki></code>.
 +
=== Method 2 ===
 +
Another option is to configure your tablet from the console every time when you turn your computer on using <code><nowiki>xsetwacom</nowiki></code>, such as
 +
<pre><nowiki>
 +
xsetwacom set 'Wacom Intuos3 6x8' 'Button1' '1'
 +
xsetwacom set 'Wacom Intuos3 6x8' 'Button2' '3'
 +
xsetwacom set 'Wacom Intuos3 6x8' 'Button3' '2'
 +
</nowiki></pre>
 +
for exchanging your stylus buttons (not all options can be set this way, for example "KeepShape" option mentioned under Method 1 doesn't work using this method).
 +
To make your changes permanent, simply open (or create) the file <code><nowiki>.xsessionrc</nowiki></code> in your home directory and add the lines above (you should use your own configuration, of course).  After that, simply log out and back into your X11 server, and your tablet configuration will be applied.
 +
== Ubuntu 9.04 (Jaunty Jackalope) ==
 +
'''Most Wacom tablets should work out of the box in Jaunty, including full hotplugging support, without the need for additional configuration'''.
 +
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png If you previously had a custom .fdi file in /etc/hal/fdi/policy, remove it before upgrading to Jaunty. Make sure you don't have any Wacom configuration lines in your /etc/X11/xorg.conf either.
 +
=== Configuration ===
 +
A custom configuration file can be used to set tablet options. For info and sample configurations, see [[UbuntuHelp:Wacom.fdi|Wacom.fdi]].
 +
Like before, device options can also be set on the fly using xsetwacom commands (which can be saved in a script, like the graphical configuration tool wacomcpl does). Instead of using the old names (pen, eraser, etc...) you will have to use <code><nowiki>xinput --list</nowiki></code> to get the right names for your hardware, since <code><nowiki>xsetwacom list</nowiki></code> is only able to get the names when using the /etc/X11/xorg.conf configuration method.
 +
'' There is a [http://ubuntuforums.org/showpost.php?p=7220343&postcount=247 script to rename wacom devices to those wacomcpl will recognise] (save it in `/etc/init.d/`) that should work for most users. Read the whole post for more information. ''
 +
Of course, it is always possible to revert to the old configuration method with /etc/X11/xorg.conf, but you will lose hotplugging support.
 +
=== Tablets requiring additional setup ===
 +
* [[UbuntuHelp:WacomGraphireBluetooth|WacomGraphireBluetooth]]
 +
=== Notes ===
 +
The graphical configuration tool that was planned for Ubuntu 9.04 didn't get done [http://lists.ubuntu.com/archives/ubuntu-x/2009-February/000412.html because of lack of manpower].
 +
== Ubuntu 8.10 (Intrepid Ibex) ==
 +
With Ubuntu 8.10, the configuration tool `wacomcpl` comes with the `wacom-tools` package. However, it won't work in the default setup (Option A), but will works if you have configured your tablet using Option B.
 +
Tablet PC users need to use Option B (for a tentative explanation, see [http://ubuntuforums.org/showpost.php?p=6084069&postcount=1 this post] or read [http://ubuntuforums.org/showpost.php?p=6084069 the whole thread]).
 +
Users might also be affected by a bug in the 8.1.4 version of the wacom drivers that comes with Ubuntu 8.10, where the input freeze when the pen touches the tablet. If that is the case for you, you can install updated drivers :
 +
1. Download the updated packages :
 +
 
 +
* If you are using an i386 (32bits) Ubuntu 8.10, download these two files :
 +
[[UbuntuHelp:attachment:wacom-tools_0.8.1.6-1ubuntu2_i386.deb|attachment:wacom-tools_0.8.1.6-1ubuntu2_i386.deb]]
 +
[[UbuntuHelp:attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_i386.deb|attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_i386.deb]]
 +
* If you are using an amd64 (64bits) Ubuntu 8.10, download these files instead :
 +
[[UbuntuHelp:attachment:wacom-tools_0.8.1.6-1ubuntu2_amd64.deb|attachment:wacom-tools_0.8.1.6-1ubuntu2_amd64.deb]]
 +
[[UbuntuHelp:attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_amd64.deb|attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_amd64.deb]]
 +
2. The packages should appear on your desktop. Install them by right-clicking on them, then chosing "Open with GDebi Package Installer"
 +
 
 +
You can also install them (no need to compile them) by following the instructions at [[UbuntuHelp:Wacom/LatestDriver|Installing the Latest Driver in Ubuntu]].
 +
=== Option A) Default Setup ===
 +
In Ubuntu 8.10 wacom tablets should work out-of-the-box with hotplugging, but only the stylus - including pressure and tilt - will work (it isn't possible to get the eraser, mouse or pad buttons to work using this method). If the stylus is enough for you, and if you want to configure it, see [[UbuntuHelp:Wacom.fdi|Wacom.fdi]]. Before investing too much time in it, take in consideration that Ubuntu 9.04 will probably revert to using xorg.conf (Option B).
 +
Remember this solution only works for Wacom USB tablets.
 +
=== Option B) Manual Setup Using xorg.conf ===
 +
If this is not enough for you, you ''can'' configure the tablet using the old method. At the moment only this method will enable the use of the eraser, mouse and pad buttons. You will however lose hotplugging support for your tablet, and in addition since editing /etc/X11/xorg.conf has gotten far harder than before (as there is almost nothing in this file anymore) ''you risk hosing X.''
 +
If you still wish to try this, here's how:
 +
Launch a terminal
 +
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Terminal2.png
 +
* Backup your existing /etc/X11/xorg.conf. In the terminal, type (or copy/paste):<pre><nowiki>
 +
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default</nowiki></pre>
 +
* Now is the time to edit /etc/X11/xorg.conf. In the terminal, type:<pre><nowiki>
 +
gksudo gedit /etc/X11/xorg.conf</nowiki></pre>
 +
or<pre><nowiki>
 +
kdesudo kate /etc/X11/xorg.conf</nowiki></pre>
 +
Then add the required lines for your Wacom tablet (see [[UbuntuHelp:WacomTroubleshooting|Example|Lines for /etc/X11/xorg.conf]] for details).
 +
== Ubuntu 8.04 (Hardy Heron) ==
 +
Your tablet should work after you've added the relevant lines in /etc/X11/xorg.conf. Just reuse the lines that were present in previous Ubuntu releases, or copy/paste them from [[UbuntuHelp:WacomTroubleshooting|Example|Lines for /etc/X11/xorg.conf]]
 +
If it's a new model that is not supported by the version of the driver present in Hardy (for example, Wacom Bamboo series tablets), the instructions on [http://ubuntuforums.org/showthread.php?t=765915 this thread] may help (if your tablet works but doesn't have pressure sensitivity enabled, you probably don't need to follow all of the steps in that how-to: it's enough to edit the xorg.conf file as described in steps 8 to 12).
 +
== Ubuntu 7.10 (Gutsy Gibbon) ==
 +
The lines configuring Wacom tablets in /etc/X11/xorg.conf have been commented out - you need to uncomment them by removing the # at the beginning of the lines.
 +
* Backup your existing /etc/X11/xorg.conf. In a terminal (see above) type :<pre><nowiki>
 +
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default</nowiki></pre>
 +
* Edit /etc/X11/xorg.conf and removing the # at the beginning of the lines concerning Wacom tablets - see [[UbuntuHelp:WacomTroubleshooting|Example|Lines for /etc/X11/xorg.conf]] for details.
 +
== Ubuntu 7.04 (Feisty Fawn) ==
 +
Under Ubuntu 7.04, thanks to updated drivers, you should have nothing more to do than plug in your tablet '''for most tablets'''. You may have to restart the X server by logging out then logging back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code> after you have closed all your applications. Don't forget that you also have to [[UbuntuHelp:[Extended|configure the "Extended input devices"]]] in the programs you use, like Gimp or Inkscape.
 +
== Ubuntu 6.06 (Dapper Drake) and 6.10 (Edgy Eft) ==
 +
Under these versions, installing an USB Wacom tablet is straightforward. Remember to plug in your tablet before you boot; it makes things simpler.
 
'''With the version of the Linux Wacom driver (0.7.2) in Ubuntu 6.06 and 6.10, if you unplug you tablet, it won't function when you plug it back in and you will have to restart X. For this reason, it is best to leave the tablet plugged in.'''
 
'''With the version of the Linux Wacom driver (0.7.2) in Ubuntu 6.06 and 6.10, if you unplug you tablet, it won't function when you plug it back in and you will have to restart X. For this reason, it is best to leave the tablet plugged in.'''
<ol><li>Using Synaptic package manager[[FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)]], check if the packages xserver-xorg-input-wacom and wacom-tools are already installed - if not install them. If you prefer using the command line, you can also execute : <pre><nowiki>
+
<ol><li>Using Synaptic package manager<<FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)>>, check if the packages xserver-xorg-input-wacom and wacom-tools are already installed - if not install them. If you prefer using the command line, you can also execute : <pre><nowiki>
 
sudo apt-get install xserver-xorg-input-wacom wacom-tools</nowiki></pre>
 
sudo apt-get install xserver-xorg-input-wacom wacom-tools</nowiki></pre>
 
</li><li>Save a copy of your /etc/X11/xorg.conf : <pre><nowiki>
 
</li><li>Save a copy of your /etc/X11/xorg.conf : <pre><nowiki>
第23行: 第124行:
 
then edit it with the command line : <pre><nowiki>
 
then edit it with the command line : <pre><nowiki>
 
  gksudo gedit /etc/X11/xorg.conf</nowiki></pre>
 
  gksudo gedit /etc/X11/xorg.conf</nowiki></pre>
and change all /dev/wacom occurences into /dev/input/wacom (created by wacom-tools udev scripts)[[FootNote(Alternatively, you could make a symbolic link between /dev/input/wacom  and /dev/wacom (pointed to by /etc/X11/xorg.conf, but this would only be a temporary solution, and you would have to set the symbolic link again after reboot : <code><nowiki>sudo ln -s /dev/input/wacom /dev/wacom</nowiki></code>)]], then save the file.
+
or<pre><nowiki>
 +
kdesudo kate /etc/X11/xorg.conf</nowiki></pre>
 +
and change all /dev/wacom occurences into /dev/input/wacom (created by wacom-tools udev scripts)<<FootNote(Alternatively, you could make a symbolic link between /dev/input/wacom  and /dev/wacom (pointed to by /etc/X11/xorg.conf, but this would only be a temporary solution, and you would have to set the symbolic link again after reboot : <code><nowiki>sudo ln -s /dev/input/wacom /dev/wacom</nowiki></code>)>>, then save the file. See [[UbuntuHelp:WacomTroubleshooting|Example|Lines for /etc/X11/xorg.conf]] if you don't have any configuration for Wacom devices in your xorg.conf.
 
For an LTSP client update the /usr/bin/dexconf script instead, this is run at boot time to generate a new xorg.conf configuration file, and so any changes made to xorg.conf are lost on reboot.
 
For an LTSP client update the /usr/bin/dexconf script instead, this is run at boot time to generate a new xorg.conf configuration file, and so any changes made to xorg.conf are lost on reboot.
You should be ready to go after you have restarted X[[FootNote(Ctrl-Alt-Backspace. Save your work before doing so!)]]. Remember to [[Extended configure the "Extended input devices"]] in your graphics application, however you can already check if it's working by moving your stylus on the tablet : the mouse cursor should go through the whole screen.
+
You should be ready to go after you have restarted X<<FootNote(by logging out and back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code>.. Save your work before doing so!)>>. Remember to [[UbuntuHelp:[Extended|configure the "Extended input devices"]]] in your graphics application, however you can already check if it's working by moving your stylus on the tablet : the mouse cursor should go through the whole screen.
=== In case this doesn't work ===
+
<<Anchor(Extended)>>
'''This is not the recommended solution, because sometimes your tablet will appear under an other event.'''
+
== Configuring the "Extended Input Devices" ==
First, follow step 1. of the previous section to install at least xserver-xorg-input-wacom. Then :
+
Your tablet input devices (usually stylus, eraser, and cursor) should now appear in programs that support them -- at the moment, [http://www.gimp.org/ Gimp]  and  [http://www.inkscape.org/ Inkscape] are the most common. However, you still have to enable them before you can use them fully.
* check your /etc/X11/xorg.conf, you should see some new entries with the name "wacom"[[FootNote(Else add them following the model at https://wiki.ubuntu.com/WacomTroubleshooting)]], they point to /dev/wacom ;
+
* you first have to check on which /dev/input/event# (where # is a number, usually 2 or 3) your tablet appears[[FootNote(You can check this by installing the package wacom-tools, then using in a terminal the command  <code><nowiki>sudo wacdump /dev/input/event#</nowiki></code>,replacing # by the number of the event you want to check.)]],
+
* Save a copy of your /etc/X11/xorg.conf first: <pre><nowiki>
+
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup</nowiki></pre>
+
then edit it with the command line : <pre><nowiki>
+
gksudo gedit /etc/X11/xorg.conf</nowiki></pre>
+
and change all /dev/wacom occurences into /dev/input/event# (replacing # with the number of the event)[[FootNote(Alternatively, and as a quick test, you could create a symbolic link /dev/wacom directly pointing to the exact event in /dev/input, with the command : <code><nowiki>sudo ln -s /dev/input/event# /dev/wacom</nowiki></code> (remember # is a number, so you might for example have to type: <code><nowiki>sudo ln -s /dev/input/event3 /dev/wacom</nowiki></code>)]].
+
You should be ready to go after you have restarted X[[FootNote(Ctrl-Alt-Backspace. Save your work before doing so!)]].
+
== If you have a Toshiba Tablet PC and you are running Gutsy Gibbon or Hardy Heron ==
+
There is a bug in the kernel that prevents the tablet pen from waking up from suspend.  The issue is well-understood and there are kernel packages fixing it attached to this launchpad bug report:
+
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/152187
+
== If you have a Volito2 and you are running Edgy Eft ==
+
There is actually a bug in Edgy Eft, and you need a workaround to get your Volito2 working.
+
<ol><li>Make a backup copy of your wacom.ko : <pre><nowiki>
+
sudo mv /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko_backup </nowiki></pre>
+
</li><li>Download the wacom.ko module at http://librarian.launchpad.net/4936142/wacom.ko
+
</li><li>Copy it to /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ : <pre><nowiki>
+
sudo cp <your download directory>/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ </nowiki></pre></li></ol>
+
 
+
Now reboot your system and everything should work fine as the other pen tablets.
+
== If you have a TC1100 and you are running Edgy Eft ==
+
Using the instructions at the top of this guide, install the Wacom packages as noted in Step 1.
+
Do '''NOT''' follow the instructions in Step 2 to rename the /dev/wacom device references. Instead, backup the xorg.conf as noted in Step 2 and make sure the following line is '''not commented''' in each of the wacom InputDevice sections. <pre><nowiki> 
+
Option        "ForceDevice"  "ISDV4"  # Tablet PC ONLY</nowiki></pre>
+
After installing the packages, the Wacom driver firmware must be activated with the following terminal command. <pre><nowiki>
+
echo "1" > /dev/wacom</nowiki></pre>
+
Then restart X to use the stylus.
+
[[Anchor(Extended)]]
+
== Configuring the "Extended input devices" ==
+
Your tablet input devices (usuall stylus, eraser, and cursor) should now appear in programs that support them -- at the moment, [http://www.gimp.org/ Gimp]  and  [http://www.inkscape.org/ Inkscape] are the most common. However, you still have to enable them before you can use them fully.
+
 
=== Gimp ===
 
=== Gimp ===
 
Open Files>Preferences :
 
Open Files>Preferences :
第64行: 第137行:
 
Use the tab "Input devices", then click on "Configure Extended Input Devices"
 
Use the tab "Input devices", then click on "Configure Extended Input Devices"
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Preferences.png
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Preferences.png
Choose Device: Stylus then Mode: Screen[[FootNote(You can also choose Mode: Window, but it's not the best setting)]]. Do the same for the Eraser and the Cursor:
+
Choose Device: Stylus then Mode: Screen<<FootNote(You can also choose Mode: Window, but it's not the best setting)>>. Do the same for the Eraser and the Cursor:
 +
(Note, that all values have to be the same as in the picture.)
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Input.png
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Input.png
 
Now you're ready to draw, for example with the Paintbrush. You can change the Pressure Sensitivity effect from Opacity to Size, such as here :
 
Now you're ready to draw, for example with the Paintbrush. You can change the Pressure Sensitivity effect from Opacity to Size, such as here :
第72行: 第146行:
 
Open Files>Input devices... :
 
Open Files>Input devices... :
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Menus.png
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Menus.png
Choose Device: Stylus then Mode: Screen[[FootNote(You can also choose Mode: Window, but it's not the best setting)]] - do the same for the Eraser and the Cursor:
+
Choose Device: Stylus then Mode: Screen<<FootNote(You can also choose Mode: Window, but it's not the best setting)>> - do the same for the Eraser and the Cursor:
 +
(Note, that all values have to be the same as in the picture.)
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Input.png
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Input.png
Now you're ready to draw. The best tool with a tablet is the Calligraphy tool (Ctrl+F6) https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool.png , you have to click  on the icon https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Pressure.png to use the pressure, and adjust the settings on the bar just above the horizontal ruler https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool_Toolbar.png like on the following picture :
+
Now you're ready to draw. The best tool with a tablet is the Calligraphy tool (Ctrl+F6) https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool.png , you have to click  on the icon https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Pressure.png to use the pressure, and adjust the settings on the bar just above the horizontal ruler
 +
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool_Toolbar.png
 +
like on the following picture :
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_calligraphy.png
 
https://help.ubuntu.com/community/Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_calligraphy.png
 
== Tips ==
 
== Tips ==
 
=== Modifying Stroke Pressure ===
 
=== Modifying Stroke Pressure ===
If you find that with the defaults setting for the stylet it's hard to draw thin strokes, you can add this line in /etc/X11/xorg.conf[[FootNote(Remember to be careful when editing this file. First make a backup copy with <code><nowiki>sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup</nowiki></code> then edit it with the command line <code><nowiki>gksudo gedit /etc/X11/xorg.conf</nowiki></code>)]]:<pre><nowiki>
+
If you find that with the defaults setting for the stylet it's hard to draw thin strokes, you can add this line in /etc/X11/xorg.conf<<FootNote(Remember to be careful when editing this file. First make a backup copy with <code><nowiki>sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup</nowiki></code> then edit it with the command line <code><nowiki>gksudo gedit /etc/X11/xorg.conf</nowiki></code>)>>:<pre><nowiki>
 
   Option        "PressCurve"    "50,0,100,50"        # Custom preference</nowiki></pre>
 
   Option        "PressCurve"    "50,0,100,50"        # Custom preference</nowiki></pre>
to the section "InputDevice" relative to the stylet. It will then look like this :<pre><nowiki>
+
to the section "!InputDevice" relative to the stylet. It will then look like this :<pre><nowiki>
 
Section "InputDevice"
 
Section "InputDevice"
 
   Driver        "wacom"
 
   Driver        "wacom"
 
   Identifier    "stylus"
 
   Identifier    "stylus"
   Option        "Device"        "/dev/wacom"         # Change to
+
   Option        "Device"        "/dev/input/wacom"  
                                                      # /dev/input/event
+
                                                      # for USB
+
 
   Option        "Type"          "stylus"
 
   Option        "Type"          "stylus"
 
   Option        "PressCurve"    "50,0,100,50"        # Custom preference
 
   Option        "PressCurve"    "50,0,100,50"        # Custom preference
   Option        "Threshold"    "60"                  # sensetivity to do a "click"
+
   Option        "Threshold"    "60"                  # sensitivity to do a "click"
  Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
+
 
EndSection</nowiki></pre>
 
EndSection</nowiki></pre>
 
The parameter "50,0, 100,50" determine the slope of two tangents of the pressure curve("deltaX_1,deltaY_1 ,100-deltaX_2,100-deltaY_2"; 1:no pressure, 2:full pressure). On [http://alexmac.cc/tablet-apps/ Gnome Graphic Tablet Apps] you can find an application that does this and some pictures that show what the pressure curve is.
 
The parameter "50,0, 100,50" determine the slope of two tangents of the pressure curve("deltaX_1,deltaY_1 ,100-deltaX_2,100-deltaY_2"; 1:no pressure, 2:full pressure). On [http://alexmac.cc/tablet-apps/ Gnome Graphic Tablet Apps] you can find an application that does this and some pictures that show what the pressure curve is.
 
=== Fixing the Inverted Scrolling Problem ===
 
=== Fixing the Inverted Scrolling Problem ===
 
If the scroll wheel on your Wacom mouse is inverted (up is down and down is up), there is a workaround.  Open up the terminal and type in:
 
If the scroll wheel on your Wacom mouse is inverted (up is down and down is up), there is a workaround.  Open up the terminal and type in:
<pre><nowiki>xsetwacom set cursor RelWDn 4
+
<pre><nowiki>
 +
xsetwacom set cursor RelWDn 4
 
xsetwacom set cursor RelWUp 5</nowiki></pre>
 
xsetwacom set cursor RelWUp 5</nowiki></pre>
 
If the scroll wheel now works correctly (which it should), open up a text editor, type "#!/bin/sh", and then below that paste in the above commands.  Save it as ".xsetwacomrc" in your home directory and make sure it is executable (type in "chmod +x .xsetwacomrc" from the terminal).  To load this file on startup, go to System->Preferences->Sessions and click on the "Startup Programs" tab.  Click on "New" and enter the command "/home/USERNAME/.xsetwacomrc", then give it a title like "Wacom Cursor Scroll Inversion Rectifier".  You may of course like to place other xsetwacom commands into that file, depending on your needs.
 
If the scroll wheel now works correctly (which it should), open up a text editor, type "#!/bin/sh", and then below that paste in the above commands.  Save it as ".xsetwacomrc" in your home directory and make sure it is executable (type in "chmod +x .xsetwacomrc" from the terminal).  To load this file on startup, go to System->Preferences->Sessions and click on the "Startup Programs" tab.  Click on "New" and enter the command "/home/USERNAME/.xsetwacomrc", then give it a title like "Wacom Cursor Scroll Inversion Rectifier".  You may of course like to place other xsetwacom commands into that file, depending on your needs.
''With my Graphire4 on Ubuntu 7.10, those commands did not work. Instead, the following commands fixed the inverted scrollwheel issue:'' <pre><nowiki>xsetwacom set wacompad relwup "button 5"
+
''With my Graphire4 on Ubuntu 7.10, those commands did not work. Instead, the following commands fixed the inverted scrollwheel issue:'' <pre><nowiki>
xsetwacom set wacompad relwdn "button 4"
+
xsetwacom set pad relwup "button 5"
</nowiki></pre>'' -- DavidAllouche [[DateTime(2007-12-08T16:25:42Z)]]
+
xsetwacom set pad relwdn "button 4"
''Note: For this to work the xorg.conf must refer to your wacom device pad as wacompad. By default in Gutsy there is no reference to the pad as an input device. For the scrollwheel to work add the following lines under Section "InputDevice":
+
</nowiki></pre>'' -- !DavidAllouche !DateTime(2007-12-08T16:25:42Z)
<pre><nowiki>Section "InputDevice"
+
''Note: For this to work the xorg.conf must refer to your wacom device pad as "pad". By default in Gutsy there is no reference to the pad as an input device. For the scrollwheel to work add the following lines under Section "!InputDevice":
 +
<pre><nowiki>
 +
Section "InputDevice"
 
   Driver        "wacom"
 
   Driver        "wacom"
 
   Identifier    "pad"
 
   Identifier    "pad"
第109行: 第186行:
 
   Option        "USB"          "on"                  # USB ONLY
 
   Option        "USB"          "on"                  # USB ONLY
 
     EndSection</nowiki></pre>
 
     EndSection</nowiki></pre>
In the above example, which is the configuration in my xorg.conf, the option "Type" is "pad" and not "wacompad". It will work either way but use one not both. Similarly in the Section "ServerLayout" you must add the following line:
+
Similarly in the Section "!ServerLayout" you must add the following line:
<pre><nowiki>Section "ServerLayout"
+
<pre><nowiki>
 +
Section "ServerLayout"
 
         InputDevice "pad"  #Do not add SendCoreEvents
 
         InputDevice "pad"  #Do not add SendCoreEvents
 
</nowiki></pre>
 
</nowiki></pre>
Again careful about whether you use "pad" or "wacompad"!
+
=== Using a Specific Area of the Tablet ===
=== use a specific area of the tablet ===
+
 
You can limit the used area of the tablet to get the correct aspect ratio (if you draw circles and get something oval).  
 
You can limit the used area of the tablet to get the correct aspect ratio (if you draw circles and get something oval).  
<pre><nowiki>Section "InputDevice"
+
<pre><nowiki>
 +
Section "InputDevice"
 
         ... 
 
         ... 
 
   Option          "TopX"        "100"     
 
   Option          "TopX"        "100"     
第124行: 第202行:
 
   ...
 
   ...
 
     EndSection</nowiki></pre>
 
     EndSection</nowiki></pre>
Although you can make this different for the pen and the eraser, you propably want to have the same area for both of them. On the Graphire4 XL the resolution is 800 dots per cm, so 6000-200 is 7.25 cm on the tablet.
+
Although you can make this different for the pen and the eraser, you probably want to have the same area for both of them. On the Graphire4 XL the resolution is 800 dots per cm, so 6000-200 is 7.25 cm on the tablet.
== Others sources of information ==
+
=== Problems Related to mouseemu ===
[http://linuxwacom.sourceforge.net/ The Linux Wacom Project]
+
mouseemu is used on some systems (mostly Apple hardware) to emulate a two button mouse using a single button trackpad. It conflicts with the Wacom drivers stopping it working altogether and producing errors in /var/log/Xorg.0.log similar to
The page https://wiki.ubuntu.com/WacomTabletIssue has more detailed information, especially for previous Ubuntu releases. The information is sometimes  quite dated, though some notes can be usefull, especially if your tablet isn't working properly. The page https://wiki.ubuntu.com/WacomTroubleshooting contains fewer advices, but they are more recent.
+
<pre><nowiki>
The page https://wiki.ubuntu.com/Install_linuxwacom_driver is an up-to-date guide especialy useful if you want or need to do things by hand.
+
(**) Option "Device" "/dev/input/wacom"
The page http://alexmac.cc/tablet-apps/ is home to a wacom configuration application which allows you to edit pressure curve, device mode and tilt(coming soon) it also includes a nice test area to which offers realtime testing of your decisions. This site includes both source code and .deb's
+
pad Wacom X driver can't grab event device, errno=1022
On the page http://www.runkel-it.de/wacom_tablet_howto.de-5.html (german) most of the parameters are described.
+
</nowiki></pre>
 +
To fix this simply uninstall mouseemu using the package manager of your choice and restart the X server.
 +
== Specific Cases ==
 +
=== Graphire Bluetooth in Ubuntu 8.04 and 8.10 ===
 +
''Unfortunately the Graphire '''Bluetooth''' requires changes to the kernel hidp module to work.''
 +
See [[UbuntuHelp:WacomGraphireBluetooth|WacomGraphireBluetooth]] for instructions on how to get this tablet working in Ubuntu.
 +
=== Toshiba Tablet PC in Ubuntu 7.10 or Ubuntu 8.04 ===
 +
There is a bug in the kernel that prevents the tablet pen from waking up from suspend.  The issue is well-understood and there are kernel packages fixing it attached to [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/152187 this launchpad bug report].
 +
=== Bamboo Series in Ubuntu 7.10 ===
 +
''The Bamboo series tablets require the latest development Wacom drivers, which must be installed manually''
 +
See [http://ubuntuforums.org/showpost.php?p=4253232&postcount=133 this post] for a Howto
 +
=== Volito2 in Ubuntu 6.10 ===
 +
There is actually a bug in Ubuntu 6.10, and you need a workaround to get your Volito2 working.
 +
<ol><li>Make a backup copy of your wacom.ko : <pre><nowiki>
 +
sudo mv /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko_backup </nowiki></pre>
 +
</li><li>Download the wacom.ko module at http://librarian.launchpad.net/4936142/wacom.ko
 +
</li><li>Copy it to /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ : <pre><nowiki>
 +
sudo cp <your download directory>/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ </nowiki></pre></li></ol>
 +
 
 +
Now reboot your system and everything should work fine as the other pen tablets.
 +
=== TC1100 in Ubuntu 6.10 ===
 +
Using the instructions at the top of this guide, install the Wacom packages as noted in Step 1.
 +
Do '''NOT''' follow the instructions in Step 2 to rename the /dev/wacom device references. Instead, backup the xorg.conf as noted in Step 2 and make sure the following line is '''not commented''' in each of the wacom !InputDevice sections. <pre><nowiki>
 +
 
 +
Option        "ForceDevice"  "ISDV4"  # Tablet PC ONLY</nowiki></pre>
 +
After installing the packages, the Wacom driver firmware must be activated with the following terminal command. <pre><nowiki>
 +
echo "1" > /dev/wacom</nowiki></pre>
 +
Then restart X to use the stylus.
 +
== See Also ==
 +
* [http://ubuntuforums.org/showthread.php?t=967147 Wacom Ubuntu Forum Thread] - Use this thread for help, asking questions about this guide or suggesting improvements.
 +
* [[UbuntuHelp:Wacom.fdi|Wacom.fdi]] - Configure Wacom devices using the .fdi file method that is the default in Ubuntu 8.10 Intrepid Ibex
 +
* [http://linuxwacom.sourceforge.net/ The Linux Wacom Project] - Home page of the Linux Wacom Project, responsible for the Wacom drivers in Linux.
 +
* [[UbuntuHelp:WacomTroubleshooting|/etc/X11/xorg.conf configuration for Wacom tablets]] - xorg.conf example lines, updated for Ubuntu 8.10.
 +
* [[UbuntuHelp:Wacom/LatestDriver|Installing the Latest Driver in Ubuntu]] - Guide on how to install a version of the linuxwacom drivers from the Linux Wacom Project other than the version available through the Ubuntu repositories.
 +
* [http://alexmac.cc/tablet-apps/ Gnome Graphic Tablet Apps] - Home to a wacom configuration application which allows you to edit pressure curve, device mode and tilt(coming soon). It also includes a nice test area which offers realtime testing of your decisions. This site includes both source code and .deb's (only for i368 architecture).
 +
* [[UbuntuWiki:Install_linuxwacom_driver|Install_linuxwacom_driver]]|- Old guide on installing the drivers directly from [http://linuxwacom.sourceforge.net/ The Linux Wacom Project], especially useful if you want or need to do things by hand. The Ubuntu "Success story" section is however limited to Ubuntu 4.10 and 5.04, and the driver described is only in version 0.7.8.
 +
*[[UbuntuHelp:WacomLegacy|WacomLegacy]] - Guide written for legacy Ubuntu releases (before Ubuntu 6.06). The information is quite dated, though some notes might be useful if your tablet isn't working properly.
 
----
 
----
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
[[category:CategoryWacom]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:48的最新版本

To discuss this guide, please use this Ubuntu forums thread. In all cases, please take note that after having changed the configuration (if it was necessary), you will also have to configure the [[UbuntuHelp:[Extended|"Extended input devices"]]] in the programs you use, like Gimp or Inkscape. Don't forget to register your Wacom tablet on the Wacom web site, since you can specify Linux as the system you're using. For all Ubuntu versions, using Synaptic package manager<<FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)>> or Adept package manager<<FootNote(KMenu>System>Adept Manager)>>, check first if the packages xserver-xorg-input-wacom and wacom-tools are already installed on your system - if not, install them.

Alternatively, you can use the command line :
sudo apt-get install xserver-xorg-input-wacom wacom-tools

Plug the tablet in, then restart Ubuntu. NOTE: there is no package wacom-tools in Ubuntu 10.04 any more, so you'll have to use your tablet without it.

Ubuntu 10.04 (Lucid Lynx)

Method 1

Instead of editing xorg.conf, in Ubuntu 10.04 you edit /usr/lib/X11/xorg.conf.d/10-wacom.conf in the same way that is mentioned at the bottom of this Wiki page to edit xorg.conf. You can enter this commandd to edit mentioned file:

gksudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf

After you enter your password, Gedit window opens and you can edit your options. This is my /usr/lib/X11/xorg.conf.d/10-wacom.conf file:

Section "InputClass"
	Identifier "Wacom class"
	MatchProduct "Wacom|WACOM"
	MatchDevicePath "/dev/input/event*"
	Driver "wacom"
	#Option "Button2" "2"
	#Option "Button3" "3"
	Option "KeepShape" "on"
EndSection

Section "InputClass"
	Identifier "Wacom serial class"
	MatchProduct "Serial Wacom Tablet"
	Driver "wacom"
	Option "ForceDevice" "ISDV4"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
	Identifier "Wacom N-Trig class"
	MatchProduct "HID 1b96:0001"
	MatchDevicePath "/dev/input/event*"
	Driver "wacom"
EndSection

These are the only options i have added to default Ubuntu file:

	#Option "Button2" "2"
	#Option "Button3" "3"
	Option "KeepShape" "on"

First two options can be used to remap buttons (# sign means that the option is disabled until # is removed), and third option is used like "Force proportions" option in Microsoft Windows operating system. Essentially it corrects difference between your monitor aspect ratio and aspect ratio of your tablet. Remember, you add your options in Section "InputClass". Enter this in your terminal for more options you can put in this section:

man wacom

To leave "man" page after you have found options you need type :q.

Method 2

Another option is to configure your tablet from the console every time when you turn your computer on using xsetwacom, such as

xsetwacom set 'Wacom Intuos3 6x8' 'Button1' '1'
xsetwacom set 'Wacom Intuos3 6x8' 'Button2' '3'
xsetwacom set 'Wacom Intuos3 6x8' 'Button3' '2'

for exchanging your stylus buttons (not all options can be set this way, for example "KeepShape" option mentioned under Method 1 doesn't work using this method). To make your changes permanent, simply open (or create) the file .xsessionrc in your home directory and add the lines above (you should use your own configuration, of course). After that, simply log out and back into your X11 server, and your tablet configuration will be applied.

Ubuntu 9.04 (Jaunty Jackalope)

Most Wacom tablets should work out of the box in Jaunty, including full hotplugging support, without the need for additional configuration. IconsPage?action=AttachFile&do=get&target=warning.png If you previously had a custom .fdi file in /etc/hal/fdi/policy, remove it before upgrading to Jaunty. Make sure you don't have any Wacom configuration lines in your /etc/X11/xorg.conf either.

Configuration

A custom configuration file can be used to set tablet options. For info and sample configurations, see Wacom.fdi. Like before, device options can also be set on the fly using xsetwacom commands (which can be saved in a script, like the graphical configuration tool wacomcpl does). Instead of using the old names (pen, eraser, etc...) you will have to use xinput --list to get the right names for your hardware, since xsetwacom list is only able to get the names when using the /etc/X11/xorg.conf configuration method. There is a script to rename wacom devices to those wacomcpl will recognise (save it in `/etc/init.d/`) that should work for most users. Read the whole post for more information. Of course, it is always possible to revert to the old configuration method with /etc/X11/xorg.conf, but you will lose hotplugging support.

Tablets requiring additional setup

Notes

The graphical configuration tool that was planned for Ubuntu 9.04 didn't get done because of lack of manpower.

Ubuntu 8.10 (Intrepid Ibex)

With Ubuntu 8.10, the configuration tool `wacomcpl` comes with the `wacom-tools` package. However, it won't work in the default setup (Option A), but will works if you have configured your tablet using Option B. Tablet PC users need to use Option B (for a tentative explanation, see this post or read the whole thread). Users might also be affected by a bug in the 8.1.4 version of the wacom drivers that comes with Ubuntu 8.10, where the input freeze when the pen touches the tablet. If that is the case for you, you can install updated drivers : 1. Download the updated packages :

  • If you are using an i386 (32bits) Ubuntu 8.10, download these two files :

attachment:wacom-tools_0.8.1.6-1ubuntu2_i386.deb attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_i386.deb

  • If you are using an amd64 (64bits) Ubuntu 8.10, download these files instead :

attachment:wacom-tools_0.8.1.6-1ubuntu2_amd64.deb attachment:xserver-xorg-input-wacom_0.8.1.6-1ubuntu2_amd64.deb 2. The packages should appear on your desktop. Install them by right-clicking on them, then chosing "Open with GDebi Package Installer"

You can also install them (no need to compile them) by following the instructions at Installing the Latest Driver in Ubuntu.

Option A) Default Setup

In Ubuntu 8.10 wacom tablets should work out-of-the-box with hotplugging, but only the stylus - including pressure and tilt - will work (it isn't possible to get the eraser, mouse or pad buttons to work using this method). If the stylus is enough for you, and if you want to configure it, see Wacom.fdi. Before investing too much time in it, take in consideration that Ubuntu 9.04 will probably revert to using xorg.conf (Option B). Remember this solution only works for Wacom USB tablets.

Option B) Manual Setup Using xorg.conf

If this is not enough for you, you can configure the tablet using the old method. At the moment only this method will enable the use of the eraser, mouse and pad buttons. You will however lose hotplugging support for your tablet, and in addition since editing /etc/X11/xorg.conf has gotten far harder than before (as there is almost nothing in this file anymore) you risk hosing X. If you still wish to try this, here's how: Launch a terminal Wacom?action=AttachFile&do=get&target=Terminal2.png

  • Backup your existing /etc/X11/xorg.conf. In the terminal, type (or copy/paste):
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default
  • Now is the time to edit /etc/X11/xorg.conf. In the terminal, type:
gksudo gedit /etc/X11/xorg.conf or
kdesudo kate /etc/X11/xorg.conf

Then add the required lines for your Wacom tablet (see Example|Lines for /etc/X11/xorg.conf for details).

Ubuntu 8.04 (Hardy Heron)

Your tablet should work after you've added the relevant lines in /etc/X11/xorg.conf. Just reuse the lines that were present in previous Ubuntu releases, or copy/paste them from Example|Lines for /etc/X11/xorg.conf If it's a new model that is not supported by the version of the driver present in Hardy (for example, Wacom Bamboo series tablets), the instructions on this thread may help (if your tablet works but doesn't have pressure sensitivity enabled, you probably don't need to follow all of the steps in that how-to: it's enough to edit the xorg.conf file as described in steps 8 to 12).

Ubuntu 7.10 (Gutsy Gibbon)

The lines configuring Wacom tablets in /etc/X11/xorg.conf have been commented out - you need to uncomment them by removing the # at the beginning of the lines.

  • Backup your existing /etc/X11/xorg.conf. In a terminal (see above) type :
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default

Ubuntu 7.04 (Feisty Fawn)

Under Ubuntu 7.04, thanks to updated drivers, you should have nothing more to do than plug in your tablet for most tablets. You may have to restart the X server by logging out then logging back in, or typing sudo /etc/init.d/gdm restart after you have closed all your applications. Don't forget that you also have to [[UbuntuHelp:[Extended|configure the "Extended input devices"]]] in the programs you use, like Gimp or Inkscape.

Ubuntu 6.06 (Dapper Drake) and 6.10 (Edgy Eft)

Under these versions, installing an USB Wacom tablet is straightforward. Remember to plug in your tablet before you boot; it makes things simpler. With the version of the Linux Wacom driver (0.7.2) in Ubuntu 6.06 and 6.10, if you unplug you tablet, it won't function when you plug it back in and you will have to restart X. For this reason, it is best to leave the tablet plugged in.

  1. Using Synaptic package manager<<FootNote(System>Administration>Synaptic Package Manager. You need to have administrative rights to install the packages)>>, check if the packages xserver-xorg-input-wacom and wacom-tools are already installed - if not install them. If you prefer using the command line, you can also execute :
    sudo apt-get install xserver-xorg-input-wacom wacom-tools
  2. Save a copy of your /etc/X11/xorg.conf :
     sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
then edit it with the command line :
 gksudo gedit /etc/X11/xorg.conf
or
 kdesudo kate /etc/X11/xorg.conf

and change all /dev/wacom occurences into /dev/input/wacom (created by wacom-tools udev scripts)<<FootNote(Alternatively, you could make a symbolic link between /dev/input/wacom and /dev/wacom (pointed to by /etc/X11/xorg.conf, but this would only be a temporary solution, and you would have to set the symbolic link again after reboot : sudo ln -s /dev/input/wacom /dev/wacom)>>, then save the file. See Example|Lines for /etc/X11/xorg.conf if you don't have any configuration for Wacom devices in your xorg.conf. For an LTSP client update the /usr/bin/dexconf script instead, this is run at boot time to generate a new xorg.conf configuration file, and so any changes made to xorg.conf are lost on reboot. You should be ready to go after you have restarted X<<FootNote(by logging out and back in, or typing sudo /etc/init.d/gdm restart.. Save your work before doing so!)>>. Remember to [[UbuntuHelp:[Extended|configure the "Extended input devices"]]] in your graphics application, however you can already check if it's working by moving your stylus on the tablet : the mouse cursor should go through the whole screen. <<Anchor(Extended)>>

Configuring the "Extended Input Devices"

Your tablet input devices (usually stylus, eraser, and cursor) should now appear in programs that support them -- at the moment, Gimp and Inkscape are the most common. However, you still have to enable them before you can use them fully.

Gimp

Open Files>Preferences : Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Menus.png Use the tab "Input devices", then click on "Configure Extended Input Devices" Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Preferences.png Choose Device: Stylus then Mode: Screen<<FootNote(You can also choose Mode: Window, but it's not the best setting)>>. Do the same for the Eraser and the Cursor: (Note, that all values have to be the same as in the picture.) Wacom?action=AttachFile&do=get&target=Screenshot-Gimp_Input.png Now you're ready to draw, for example with the Paintbrush. You can change the Pressure Sensitivity effect from Opacity to Size, such as here : Wacom?action=AttachFile&do=get&target=Screenshot-GIMP_Paintbrush_Settings.png

Inkscape

Being a vector drawing program, unlike Gimp, Inkscape is very good for ink-style drawings. An advantage of vector drawings (apart from the low resource requirements) is that your strokes will remain sharp at whatever magnification, resolution or thinness. Open Files>Input devices... : Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Menus.png Choose Device: Stylus then Mode: Screen<<FootNote(You can also choose Mode: Window, but it's not the best setting)>> - do the same for the Eraser and the Cursor: (Note, that all values have to be the same as in the picture.) Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_Input.png Now you're ready to draw. The best tool with a tablet is the Calligraphy tool (Ctrl+F6) Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool.png , you have to click on the icon Wacom?action=AttachFile&do=get&target=Inkscape_Pressure.png to use the pressure, and adjust the settings on the bar just above the horizontal ruler Wacom?action=AttachFile&do=get&target=Inkscape_Calligraphy_Tool_Toolbar.png like on the following picture : Wacom?action=AttachFile&do=get&target=Screenshot-Inkscape_calligraphy.png

Tips

Modifying Stroke Pressure

If you find that with the defaults setting for the stylet it's hard to draw thin strokes, you can add this line in /etc/X11/xorg.conf<<FootNote(Remember to be careful when editing this file. First make a backup copy with sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup then edit it with the command line gksudo gedit /etc/X11/xorg.conf)>>:
  Option        "PressCurve"    "50,0,100,50"         # Custom preference
to the section "!InputDevice" relative to the stylet. It will then look like this :
Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom" 
  Option        "Type"          "stylus"
  Option        "PressCurve"    "50,0,100,50"         # Custom preference
  Option        "Threshold"     "60"                  # sensitivity to do a "click"
EndSection

The parameter "50,0, 100,50" determine the slope of two tangents of the pressure curve("deltaX_1,deltaY_1 ,100-deltaX_2,100-deltaY_2"; 1:no pressure, 2:full pressure). On Gnome Graphic Tablet Apps you can find an application that does this and some pictures that show what the pressure curve is.

Fixing the Inverted Scrolling Problem

If the scroll wheel on your Wacom mouse is inverted (up is down and down is up), there is a workaround. Open up the terminal and type in:

xsetwacom set cursor RelWDn 4
xsetwacom set cursor RelWUp 5

If the scroll wheel now works correctly (which it should), open up a text editor, type "#!/bin/sh", and then below that paste in the above commands. Save it as ".xsetwacomrc" in your home directory and make sure it is executable (type in "chmod +x .xsetwacomrc" from the terminal). To load this file on startup, go to System->Preferences->Sessions and click on the "Startup Programs" tab. Click on "New" and enter the command "/home/USERNAME/.xsetwacomrc", then give it a title like "Wacom Cursor Scroll Inversion Rectifier". You may of course like to place other xsetwacom commands into that file, depending on your needs.

With my Graphire4 on Ubuntu 7.10, those commands did not work. Instead, the following commands fixed the inverted scrollwheel issue:
xsetwacom set pad relwup "button 5"
xsetwacom set pad relwdn "button 4"
-- !DavidAllouche !DateTime(2007-12-08T16:25:42Z)

Note: For this to work the xorg.conf must refer to your wacom device pad as "pad". By default in Gutsy there is no reference to the pad as an input device. For the scrollwheel to work add the following lines under Section "!InputDevice":

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

Similarly in the Section "!ServerLayout" you must add the following line:

Section "ServerLayout"
        InputDevice	"pad"  #Do not add SendCoreEvents

Using a Specific Area of the Tablet

You can limit the used area of the tablet to get the correct aspect ratio (if you draw circles and get something oval).

Section "InputDevice"
        ...  	
  	Option          "TopX"        "100"     
        Option          "TopY"        "200"      
        Option          "BottomX"     "14000"
        Option          "BottomY"     "6000"
  	...
    EndSection

Although you can make this different for the pen and the eraser, you probably want to have the same area for both of them. On the Graphire4 XL the resolution is 800 dots per cm, so 6000-200 is 7.25 cm on the tablet.

Problems Related to mouseemu

mouseemu is used on some systems (mostly Apple hardware) to emulate a two button mouse using a single button trackpad. It conflicts with the Wacom drivers stopping it working altogether and producing errors in /var/log/Xorg.0.log similar to

(**) Option "Device" "/dev/input/wacom"
pad Wacom X driver can't grab event device, errno=1022

To fix this simply uninstall mouseemu using the package manager of your choice and restart the X server.

Specific Cases

Graphire Bluetooth in Ubuntu 8.04 and 8.10

Unfortunately the Graphire Bluetooth requires changes to the kernel hidp module to work. See WacomGraphireBluetooth for instructions on how to get this tablet working in Ubuntu.

Toshiba Tablet PC in Ubuntu 7.10 or Ubuntu 8.04

There is a bug in the kernel that prevents the tablet pen from waking up from suspend. The issue is well-understood and there are kernel packages fixing it attached to this launchpad bug report.

Bamboo Series in Ubuntu 7.10

The Bamboo series tablets require the latest development Wacom drivers, which must be installed manually See this post for a Howto

Volito2 in Ubuntu 6.10

There is actually a bug in Ubuntu 6.10, and you need a workaround to get your Volito2 working.

  1. Make a backup copy of your wacom.ko :
     sudo mv /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/wacom.ko_backup 
  2. Download the wacom.ko module at http://librarian.launchpad.net/4936142/wacom.ko
  3. Copy it to /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ :
     sudo cp <your download directory>/wacom.ko /lib/modules/2.6.17-10-generic/kernel/drivers/usb/input/ 

Now reboot your system and everything should work fine as the other pen tablets.

TC1100 in Ubuntu 6.10

Using the instructions at the top of this guide, install the Wacom packages as noted in Step 1.

Do NOT follow the instructions in Step 2 to rename the /dev/wacom device references. Instead, backup the xorg.conf as noted in Step 2 and make sure the following line is not commented in each of the wacom !InputDevice sections.
  
Option        "ForceDevice"   "ISDV4"  # Tablet PC ONLY
After installing the packages, the Wacom driver firmware must be activated with the following terminal command.
echo "1" > /dev/wacom

Then restart X to use the stylus.

See Also

  • Wacom Ubuntu Forum Thread - Use this thread for help, asking questions about this guide or suggesting improvements.
  • Wacom.fdi - Configure Wacom devices using the .fdi file method that is the default in Ubuntu 8.10 Intrepid Ibex
  • The Linux Wacom Project - Home page of the Linux Wacom Project, responsible for the Wacom drivers in Linux.
  • /etc/X11/xorg.conf configuration for Wacom tablets - xorg.conf example lines, updated for Ubuntu 8.10.
  • Installing the Latest Driver in Ubuntu - Guide on how to install a version of the linuxwacom drivers from the Linux Wacom Project other than the version available through the Ubuntu repositories.
  • Gnome Graphic Tablet Apps - Home to a wacom configuration application which allows you to edit pressure curve, device mode and tilt(coming soon). It also includes a nice test area which offers realtime testing of your decisions. This site includes both source code and .deb's (only for i368 architecture).
  • Install_linuxwacom_driver|- Old guide on installing the drivers directly from The Linux Wacom Project, especially useful if you want or need to do things by hand. The Ubuntu "Success story" section is however limited to Ubuntu 4.10 and 5.04, and the driver described is only in version 0.7.8.
  • WacomLegacy - Guide written for legacy Ubuntu releases (before Ubuntu 6.06). The information is quite dated, though some notes might be useful if your tablet isn't working properly.