UPDATED for HARDY HERON. Thanks to bigdee973. ^^
I mean, FULLY WORKING not those half working tablets where the pressure don't work 100% and the expresskeys and the touch strip not working. I mean this guide is to help non-programmer artists get their ubuntu system working with their wacom tablets. Just like they do in their Apple Macs and *shudder* windows.
The first thing I'd like to point out is that, this guide is not intended for programmers. This guide is for computer dummies like myself who wanted to escape to a free OS. If you're just trying out to see if wacom works under ubuntu, don't waste your time. The tablet is not as easy to setup as in a Mac or Windows. No complete installer is provided by wacom. However, your tablet will work with Ubuntu out of the box. There's no extra setup needed. But the expresskeys and the touch strip will not work by default.
To get a wacom tablet fully working, the only mental faculty you need is already present if you have ever finished a Legend of Zelda game. Except zelda II that one just sucks. I'm sorry if you ever played that one. Or the CD-i Zelda.
Now, some of the instructions presented here will be in the form of codes. It'd be nice if you try to learn and understand what they mean. They will be very useful to your Ubuntu future. But if you're intimidated by strings of nonsensical characters randomly strung up by an evil genius geek deep in his dragon infested dungeon, just think of it as looking for a particular icon in other OSes like OS X or windows. Or just looking for the any key. Only, in this particular OS, it's already provided for you to copy paste.
I hope you're running Ubuntu 7.10 or higher. The codename for that version is Gutsy Gibbons. If you're not, please run your automatic software update till you run Gutsy. (If you're already running previous version of Ubuntu, you wouldn't need to read the dumbingdowness parts of this guide)
So, anyway, let's begin.
Although Wacom tablet runs out of the box in Ubuntu, you'll need to enable it in Ubuntu. That's just how linux works. If something is unnecessary, it just won't load it. Unlike windows which becomes bloated because it loads practically everything at starts up.
Part 1. Running a wacom tablet.
This part is lifted from ubuntuguide. You might want to use that one if you already know what you're doing. And return here for the second part.
First, you'd have to fire up the terminal. Go to Applications > Accesories > Terminal
And boom! You got this terminal window:
Hooray! You've just prepared yourself everything that is necessary to complete this howto guide. Isn't that easy? Even mere mortals can do it. Most people are just too chicken to try.
Now let's open the editor and edit xorg.conf. All you need to do is copy this:gksu gedit /etc/X11/xorg.conf
And paste it to the terminal by pressing Ctrl-Shift-V. Then just press enter to open the editor with xorg.conf. You might be asked for password now. Just put in your login password and it'll open the editor.
Look for the part that says:#Section "InputDevice"
And remove the # sign before each line until the three parts looks like this:
#Driver "wacom"
#Identifier "stylus"
#Option "Device" "/dev/input/wacom"
#Option "Type" "stylus"
#Option "PressCurve" "50,0,100,50"# Custom preference
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
#Section "InputDevice"
#Driver "wacom"
#Identifier "eraser"
#Option "Device" "/dev/input/wacom"
#Option "Type" "eraser"
#Option "PressCurve" "50,0,100,50"# Custom preference
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
#Section "InputDevice"
#Driver "wacom"
#Identifier "cursor"
#Option "Device" "/dev/input/wacom"
#Option "Type" "cursor"
#Option "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
Then save.
And we're done with part 1! All you have to do is restart and you'll have a fully working tablet now! Or, if you're smart, just press Ctrl-Alt-Backspace.
Part 2. Getting to drive the expresskeys.
If you restarted as told, and done playing with your working pen, you'll notice that the expresskeys and the touch strips don't work. If you have a Graphire 3, then you can immediately draw in Gimp. Have fun! But the rest of us, we have to increase our productivity by utilizing these touch strips.
The first thing is to launch the Terminal as we did in the first part.
Then you paste this code:sudo aptitude install xlibs-dev
Run it by pressing enter, and it'll display a jumble of things. Don't worry about it. After it's done, just paste in and run this code:sudo aptitude install wacom-tools
Those two codes will ensure that your computer is fully prepared to compile the program that will run expresskey and touchstrips.
Now, launch your firefox browser, and head to Expresskeys. And get the latest tar/gz thing. As of this writing, it's expresskeys-0.4.1.tar.gz.
Then you just right click on it and select extract here . After that, in your terminal, go to the folder that you've just extracted. In short, paste and run this code:cd Desktop/expresskeys-0.4.1
Change the version number as necessary.
And inside that, run these commands line by line. Don't try to do it all in one go, copy one line and past it then run it, after that run the next line. It's maybe tedious, but if anything goes wrong, you'll know which part went wrong and it'd be easier to fix../configure
After that, we'll need to open xorg.conf again, so like before, just run this command:
make
make installgksu gedit /etc/X11/xorg.conf
And add this section immediately above or below (it doesn't matter) the three we edited in the first part.Section "InputDevice"
Then look for the part that says
Driver "wacom"
Identifier "pad"
#c~b Option "Device" "/dev/ttyS0"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
EndSectionSection "ServerLayout"
And immediately below the line, add:InputDevice "pad" #c~b Intuos3
And that's it, we have set up the necessary programs to get the touch strip and the expresskeys to work.
Just save and reset your machine or press Ctrl-Shift-Backspace.
Part 3. Near instant gratification.
Just like in part 1, start your terminal. And run this code:expresskeys -d
If you did everything right, it wouldn't spit out any thing and returns to the terminal like nothing happened.
Fire up gimp and try out your touchstrips and expresskeys!! :)
But wait, what if you want to customize the expresskeys and the touchstrip?
It's easy, you just need to know the key combination and edit the expresskeys config file.
To edit the config file, first you must be able to see it.
Go to your home folder: Just select Places > Home Folder. If you're running ubuntu, I don't need to illustrate this anymore. In your home folder menu, press Ctrl-H to show some hidden files and folder (Ctrl-H again to hide them. Look for a folder named .expresskeys (with the . (dot) before the expresskey) and inside, you'll find a file named intuos3.conf1. Just double click to open it.
Follow the instructions in the file to edit each and every function of the expresskeys and touchstrip.
Oh, and one more thing, to get the keycode, start your terminal and enter:xev
A small window will appear and your terminal will be spitting a bunch of code. Put your pointer inside the small window and leave it there. Don't move even for a pixel. If you're using the tablet, just lift your pen.
Press the key that you want the keycode of on your keyboard, and immediately it will appear on your terminal as marked:
Good night good luck, and most of all, have fun with your fully functional tablet! :)
UPDATE for Ubuntu 8.04 HARDY HERON:
***FOR THOSE OF YOU USING UBUNTU 8.04 HARDY HERON***
before you install expresskeys u have to edit a file before you compile and install. its not that hard... what u have to do is download the latest version of expresskeys which is of today 5/23/2008 expresskeys-0.4.1 (here is the link...if link is broken just google expresskeys-0.4.1 and download file).
http://freshmeat.net/projects/wacomexpresskeys/
after u download the tar/zip file, you will untar/unzip it into ur home folder...and then Change line 462 of the file src-expresskeys/get_device.c from:
if (xdevice_list[i].use == IsXExtensionDevice) {
to these two:
if (xdevice_list[i].use == IsXExtensionDevice ||
xdevice_list[i].use == IsXExtensionPointer) {
after that save the file and close it. and proceed with the installation as described in the tutorial...but if ur too lazy to back track like me then just open terminal and copy and paste below...
sudo aptitude install xlibs-dev
...this installs the files u need to configure and install express keys...then in terminal...you cd into the directory of the expresskeys folder that u untared/unzipped into. which should be your home folder and
sudo ./configure
sudo make
sudo make install
restart your PC then open terminal type in
expresskeys -d
your keys should work...u could also add this to your startup session by going into system>preferences>session
u restart your computer and then open terminal again and....
expresskeys -d
and ur expresskeys should work play with the strip to see
Friday, February 15, 2008How to get a Wacom Tablet Fully Working in Ubuntu LinuxPosted by Feureau at 10:57:00 AM
Subscribe to:
Post Comments (Atom)
|

13 comments:
Hello,
Your guide is much better than any other I have come across. I still have a problem, however.
My tablet's pressure sensitivity was not working before, so I followed a tutorial elsewhere to get that working. Ever since then, my Wacom Intuos3 Expresskeys have not been configured and I have had a hard time finding acceptable tutorials. Now that I have found this one and went as far as I could, I got stuck at the part where I am told to "make install" in the terminal.
When I do "make install" I get a lot of error codes and then I return to my terminal under Desktop/expresskeys-0.4.1. I tried editing out some of the code that I had in a bit more so than my last attempt that had error messages (since there was code already there from my previous tutorial) with what you told me to do and I came across even more trouble, where my monitor was in low graphics mode until I replaced the new xorg.conf file with the one I saved.
I will send you my xorg.conf file so you can see what I can do to get this working. The choice is yours to help me or not.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Wed Sep 12 14:29:17 PDT 2007
# /etc/X11/xorg.conf (xorg 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(5) 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-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents" #For non-LCD tablets only
InputDevice "pad" #If you have Intuos3/Cintiq 21UX/Graphire4 tablets. It should NOT send core event
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
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 "USB" "on" #USB ONLY
Option "PressCurve" "50,0,100,50"# Custom preference
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "USB" "on" #USB ONLY
Option "PressCurve" "50,0,100,50"# Custom preference
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
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
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
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "nVidia Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Thank you for your time!
Hi, Brandon, thanks for the compliments. ^^
A failure in make install means you've failed to satisfy the dependencies.
From the INSTALL file included in Expresskeys-0.4.1:
Make sure that the dependencies for compiling this program are met. Apart from
the normal libraries and header files used for any program development, we need
what loosely can be called an "X development environment". Specifically the
following libraries must be available for linking: libX11.so libXext.so libXi.so
and libXtst.so Header files from X that we must be able to include are:
X11/Xlib.h X11/Xutil.h X11/extensions/XInput.h X11/extensions/XIproto.h
and X11/extensions/XTest.h
Some distributions do not provide this environment by default and therefore
require additional packages to be installed before compiling. Example names
from one distribution are libxi-dev and libxtst-dev for the xinput and xtest
packages.
Example: A "beginner-friendly" distribution like Ubuntu lacks practically
every development package needed for program compilation, in the default
installation. What must to be done, in eg Ubuntu 7.04 (Feisty Fawn) is:
1) Start the Adept package manager and click on the icon to update the list
of available packages - otherwise you won't find the ones we need.
2) Search for libc6-dev and mark it (linux-libc-dev will also get marked).
These packages are required for any C-program compilation.
3) Search for and mark xorg-dev (MANY additional packages will get marked).
This metapackage contains the rest of our requirements - and more.
4) Install.
Good luck! ^^
Hello,
Thank you very much for your quick response!
I did as you said and installed the packages through Synaptic Package Manager. I then followed your instructions and got to the part where I am told to do "make install" and I got the same error.
I did not input the "PressCurve" part of the code into the xorg.conf file and there seemed to be no negative effect. I do not know if that would compromise the installation at all.
Anyhow, here is what I got in my terminal instead - maybe this will help.
jordi@Shadow-Slate:~/Desktop/expresskeys-0.4.1$ make
make all-recursive
make[1]: Entering directory `/home/jordi/Desktop/expresskeys-0.4.1'
Making all in src-expresskeys
make[2]: Entering directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
make[2]: Entering directory `/home/jordi/Desktop/expresskeys-0.4.1'
make[2]: Leaving directory `/home/jordi/Desktop/expresskeys-0.4.1'
make[1]: Leaving directory `/home/jordi/Desktop/expresskeys-0.4.1'
jordi@Shadow-Slate:~/Desktop/expresskeys-0.4.1$ make install
Making install in src-expresskeys
make[1]: Entering directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
make[2]: Entering directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'expresskeys' '/usr/local/bin/expresskeys'
/usr/bin/install: cannot create regular file `/usr/local/bin/expresskeys': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/jordi/Desktop/expresskeys-0.4.1/src-expresskeys'
make: *** [install-recursive] Error 1
jordi@Shadow-Slate:~/Desktop/expresskeys-0.4.1$
The parts that I followed of your instructions were those that were numbered, if that helps at all. I think/thought that was all that I had to follow. I do not know why there is an "access denied" section towards the middle and end of the "make install" section, but there is. Could this be an administration problem on my computer? Do I have to be root to change this?
Anyhow, thank you again for your quick response and your help - it is greatly appreciated!
Yeah, you need root privilege. Otherwise, just use sudo make install. ^^
Hello Feureau,
I used sudo ./configure, then sudo make, and then sudo make install and everything worked like you said it would! I just had to configure everything in The GIMP and on the desktop to get things the way I wanted them to by using the instructions in the USAGE file and the intuos3s.conf1 file.
Thank you very much for your help. You have made my tablet experience much easier and finally complete after searching for a tutorial like this for four months.
Thankful Linux User,
Brandon
ShadowMKII @ ubuntuforums.org
*I forgot to include this in my previous post, but you be willing to allow me the privilege of posting this on the Ubuntuforums.org website to help others having trouble?
Hi!
I'm glad everything worked out alright for you! ^^
Anyway, this work is licensed under CC 3.0 By-NC-SA unported, so you can do anything with it, just adhere to the requirement of the license. (like all free licenses does) ^^
Enjoy!
No luck. Ubuntu 7.10. No xlibs in repositories.
I do have the intuos3 working but no expresskeys.
Thanks for your great effort.
Casimir Pohjanraito
Well, the guide was made in Gutsy so I know it works on my rig. (And at least one other guy's) However, I can't recall where I got my xlibs-dev. It's no longer in the repo, it seems.
You'll have to hunt for your own xlibs. Try this for start.
Good luck. I don't have a ubuntu rig anymore. Switched to a Mac. ^^
Will this work for an older RS232/serial Wacom?
Regards...
Nice article! Maybe this is along the lines of what I have been wanting to do. I have a HP TR-3000, it is a ruggedized tablet computer. I believe that the writing surface is a wacom compatible device. It was delivered with Windows XP Tablet Edition pre-installed and I have been dreaming about changing it to Ubuntu but have not attempted this for several reasons.
- The tablet has no CDROM drive and I cannot see any bootable options to choose USB.
- The XP Tablet edition has a on-screen keyboard and have handwriting recognition. Are there Linux (Ubuntu) equivalents?
- The TR-3000 has a internal WiFi, but I am not sure what chipset it uses to know it will also work with Linux. This is important even though the tablet also has a ethernet port.
Any suggestions?
This guide looks awesome. I have tried some other things and now Ubuntu 8.04 is starting in low-graphics mode (800x600) instead of the 1920x1200 is was doing beautifully until i tried to get my Intuos3 working. My xorg.conf is posted here, with some more detail-I'm "juanpecan"
http://ubuntuforums.org/showthread.php?t=765915&page=27
Any help is much appreciated.
john.bravodemicoli@gmail.com
Brilliant! Thanks so much! My Intuos3 is working with all the buttons!
I have one problem:
I use the pen whenever I can in place of a mouse (Due to RSI), but in Ubuntu (7.10), the device is not found unless I olug it in once the desktop has started.
Is there a way to get Gnome to accept this as an input device each time it starts?
Thanks again - great How-To.
Regards
Max
Post a Comment