Comment 26 for bug 949097

Revision history for this message
Consumology (hans-georg-schmid) wrote :

You are right, I also have a script in my home folder and it does only work after start up, not after resuming (although you can always start it manually by clicking it).
The strange thing is that in 11.04 I had a similar workaround to switch on touch gestures but those worked also after resuming.

So I followed your link and tried to figure out what to do. I created an executable additional script named '99_xsetwacom.sh' in /etc/pm/sleep.d/ and put in the code below - but it just does not work, any ideas if something is wrong with this script?

#!/bin/bash99_xsetwacom.sh
case "$1" in
    thaw|resume)
        xsetwacom set "Serial Wacom Tablet touch" Mode "Absolute"
        ;;
    *)
        ;;
esac
exit $?