User:Lanjoe9
From openSUSE
Toshiba Tecra M4-SP645
GNOME icon: unbranded Tablet PC SVG icon
Tablet PC Rotation Script:
#!/bin/sh xrandr -o right xsetwacom set cursor rotate CW xsetwacom set stylus rotate CW xsetwacom set eraser rotate CW
Back to normal mode:
#!/bin/sh xsetwacom set stylus rotate NONE xsetwacom set cursor rotate NONE xsetwacom set eraser rotate NONE xrandr -o normal
Xorg configuration (relevant parts):
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Touchpad" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" EndSection
[...]
Section "InputDevice" Identifier "cursor" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "cursor" Option "ForceDevice" "ISDV4" Option "Button2" "3" # Detect button on side of stylus as secondary mouse click Option "Button3" "2" EndSection Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "Button2" "3" Option "Button3" "2" EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" Option "Button2" "3" Option "Button3" "2" EndSection

