roy.nico
May 23rd, 2008, 09:18 AM
Hej,
I have a laptop Fujitsu T4220, with a Wacom tablet. By default, the stylus is not perfectly calibrated, this means, the cursor does not appear exactly under the stylus. For this, the solution i found is :
* using
xidump stylus i try to get the right values for TopX, TopY, BottomX and BottomY.
* Then, i set them with
xsetwacom set stylus TopX value
xsetwacom set stylus BottomX value
xsetwacom set stylus TopY value
xsetwacom set stylus BottomY value
This works, but to avoid doing this at each reboot, i can fix the values in the xorg.conf file, e.g. :
Option "BottomX" "18350"
Option "TopX" "130"
Option "BottomY" "24450"
Option "TopY" "0"
The problem, is that if then i rotate the screen, the same values wil be used, and the position of the cursor will be completely wrong !
So, my question : is there a way to save two sets of values, 1 for landscape mode and 1 for portrait mode ? I guess it is impossible in xorg.conf. But maybe in some rotation-script (that i don't know where they are) ?
Thanks in advance for any comment.
Nicolas
I have a laptop Fujitsu T4220, with a Wacom tablet. By default, the stylus is not perfectly calibrated, this means, the cursor does not appear exactly under the stylus. For this, the solution i found is :
* using
xidump stylus i try to get the right values for TopX, TopY, BottomX and BottomY.
* Then, i set them with
xsetwacom set stylus TopX value
xsetwacom set stylus BottomX value
xsetwacom set stylus TopY value
xsetwacom set stylus BottomY value
This works, but to avoid doing this at each reboot, i can fix the values in the xorg.conf file, e.g. :
Option "BottomX" "18350"
Option "TopX" "130"
Option "BottomY" "24450"
Option "TopY" "0"
The problem, is that if then i rotate the screen, the same values wil be used, and the position of the cursor will be completely wrong !
So, my question : is there a way to save two sets of values, 1 for landscape mode and 1 for portrait mode ? I guess it is impossible in xorg.conf. But maybe in some rotation-script (that i don't know where they are) ?
Thanks in advance for any comment.
Nicolas