*** /etc/acpi/rotatescreen.sh.orig 2010-07-24 16:38:17.026053835 +0200 --- /etc/acpi/rotatescreen.sh 2010-07-24 16:38:03.588544839 +0200 *************** *** 26,31 **** --- 26,43 ---- if [ x"$XAUTHORITY" != x"" ]; then export DISPLAY=":$displaynum" /usr/bin/xrandr -o $NEW_ROTATION && echo $NEW_ROTATION > /var/lib/acpi-support/screen-rotation + OIFS=$IFS + IFS=' + ' + WACOMDEVICES=`xsetwacom --list | awk NF--` + for device in $WACOMDEVICES; do + if [ "$NEW_ROTATION" = "normal" ]; then + xsetwacom set "$device" rotate NONE + else + xsetwacom set "$device" rotate CW + fi + done + IFS=$OIFS fi done