Please note that Tom's program is a viable solution, while mine is a hack on his solution :) So you could need to modify the C file to suit your needs. However, I now just run the modified version at every login and added a randr applet to my panel, and finally can switch from normal to rotated and back, keep compiz for my everyday work, and enjoy full functionality of my tablet pc.
I edited tom's program to rotate stylus when rotating xrandr to just run metacity when screen is rotated. See
https:/ /bugs.edge. launchpad. net/ubuntu/ +bug/133430
The modified C file is: launchpadlibrar ian.net/ 12339980/ wacomrotate. c
http://
Please note that Tom's program is a viable solution, while mine is a hack on his solution :) So you could need to modify the C file to suit your needs. However, I now just run the modified version at every login and added a randr applet to my panel, and finally can switch from normal to rotated and back, keep compiz for my everyday work, and enjoy full functionality of my tablet pc.