Comment 3 for bug 516827

Revision history for this message
Perkins (lperkins) wrote :

As a temporary workaround, on my Toshiba tablet I use the following script to control screen and pen rotation. You may have to adjust the device names to match your hardware.

#! /bin/bash

if [ -f /tmp/rotated ]; then
        xrandr -o normal
        xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer" Rotate none
        xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer eraser" Rotate none
        rm -f /tmp/rotated && exit 0
else
        xrandr -o left
        xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer" Rotate CCW
        xsetwacom set "Wacom Serial Tablet PC Pen Tablet/Digitizer eraser" Rotate CCW
        echo 1 > /tmp/rotated && exit 0
fi