So I updated to Gutsy.
...
Ta-damm:
- the scroll joystick on the edge of the monitor works out os the box.
- the 3 tablet button just don't work with the previous script.
- I had to reinstall linuxwacom to fix the pen buttons.
- Firefox works with Flash :-)
- I had to change the rotate script to this:
#!/bin/sh
if [ -n "$(xrandr | grep "768x1024+0+0 right")" ]; then
xrandr -o inverted
xsetwacom set "stylus" Rotate 3
else
if [ -n "$(xrandr | grep "1024x768+0+0 inverted")" ]; then
xrandr -o normal
xsetwacom set "stylus" Rotate NONE
else
if [ -n "$(xrandr | grep "1024x768+0+0")" ]; then
xrandr -o right
xsetwacom set "stylus" Rotate CW
fi
fi
fi