How to map wacom correctly to monitor
I am using Ubuntu 12.10 and I am running dual screens(23inch and 15 inch). I have a wacom intuos 2 9x12 that will will not map correctly to my second monitor which is also 9x12(1400x1050). The reason I need to solve this is because I have created a homemade cintiq and I draw on the screen (you can see what I'm talking about here: http://forum.bongofish.co.uk/index.php?topic=2096.0). The pen matches quite accurately on the x axis of my screen, so I believe the width of my wacom tablet area is okay. I think the problem is the y axis of my wacom. The cursor matches my pen towards the bottom of the screen, but as I move to the top of the screen, the distance from my pen tip to the cursor increases(the cursor is about 1 inch below pen when at top of screen).
I have looked on the Internet for hours trying to find a solution and I cannot find any.
Also, I want to say that this problem only happens in Ubuntu, I also have Windows 7 installed, and the wacom matches the screen perfectly. I'm also a complete noob to linux so I don't know much about navigating terminal.
First, determine how your system recognizes your tablet.
In a terminal enter: xsetwacom --list devices
Wacom BambooPT 2FG 4x5 Pen stylus id: 10 type: STYLUS
Wacom BambooPT 2FG 4x5 Finger touch id: 11 type: TOUCH
Wacom BambooPT 2FG 4x5 Pad pad id: 12 type: PAD
Wacom BambooPT 2FG 4x5 Pen eraser id: 17 type: ERASER
Next determine which display or "output" to map your tablet to in your systems display settings or in the terminal with xrandr --listactivemonitors
on my system that shows:
0: +*HDMI-2 1920/521x1080/293+1600+0 HDMI-2
1: +HDMI-1 1600/443x900/249+0+0 HDMI-1
Finally, using the information you just gathered, use
xsetwacom --set "[YourWacomDevice]" MapToOutput [your display]
(repeat for each device listed ).
[YourWacomDevice] = device name or id:#
so, for me that would be
xsetwacom --set "10" MapToOutput HDMI-2
xsetwacom --set "11" MapToOutput HDMI-2
xsetwacom --set "12" MapToOutput HDMI-2
xsetwacom --set "17" MapToOutput HDMI-2
Since these settings aren't kept after a reboot, you may want to save them in a script that runs on startup.
Using xsetwacom --help
lists possible options and commands. With the --list parameters
command, we can see a list of all the supported parameters. Near the end of that list is MapToOutput - Map the device to the given output.
man xsetwacom
will display it's manual entry or you can read it here
for more information about identifying and configuring displays with xrandr
read this question
Thanks to @RyanWC and @user1355 for pointing me in the right direction.
Don't know if this will help you, but I have a script with the following in it:
xsetwacom set "Wacom BambooFun 6x8 stylus" MapToOutput HEAD-0
xsetwacom set "Wacom BambooFun 6x8 eraser" MapToOutput HEAD-0
Which seems to correctly map the stylus and eraser to my primary monitor. I don't remember where I originally got it nor if I had to do any configuration before it worked.
Running the script on startup seems fine to me.
I found out what my problem was. Intuos2 wacom tablets have an allocated portion of the tablet area that is meant for custom buttons that work with the pen.
In windows, they are configured to be seen. In Ubuntu, the section is included as being a part of the area and this distorts the mapping. To fix it, I had to configure my xsetwacom "device name" Area 0 0 30480 24060
to Area 0 1400 30480 24060
.
I still would like to know how to make the changes permanent. All I can do now is do a startup script that does this, but it doesn't work very well.