0 - laptop display 1280x800px (left of)
1 - external LCD 1920x1200px
RandR virtual resolution - 3200x1200px
Tablet - Wacom Graphire4 4x5 (with resolution 10280x7424)
Inspired by habilain's post tried his solution - it works well, but I wanted something different.
I wanted to restrict Wacom Tablet to the external display. I managed to accomplish that.
First of all:
takes negative values!
xsetwacom set "NameOfTablet" TopX XX
The equation for getting TopX parameter would be:
TopX = TX - (TX*(WX/RX)
TX = Wacom horizontal resolution
WX = Virtual Randr horizontal resolution
RX = Physical right display resolution
in my case:
TopX = 10280 - (10280*(3200/1920) = -6853
I needed also to fix a bit BottomX value by hand (it shouldn't happen but it did)
xsetwacom set "Wacom Graphire4 4x5" TopX -6853
One more thing in Ubuntu/Kubuntu 10.04 settings which normally would go into xorg.conf should go: