The rotation script does not work for me with xorg-serve 1.8.x. I think it's extremely outdated, RanRRotation is enabled by default, etc. —This unsigned comment is by Malstrond (talk) 23:11, 25 June 2010 (UTC). Please sign your posts with ~~~~!
- I couldn't see anything wrong with the old script, but I've replaced it with one that I knows works. Hackerb9 07:00, 20 October 2010 (EDT)
Stylus and screen rotation
All currently listed ways on how to rotate your touchscreen/stylus do first rotate the screen and then in separate steps rotate the touchscreen/stylus accordingly.
I think the solution from Touchscreen#Using a touchscreen in a multi-head setup is cleaner:
One "maps" the touchscreen/stylus device to the correct screen (e.g. on startup). And then if the screen is rotated (e.g. on KDE Plasma in the normal Display Configuration) the touchscreen/stylus will rotates as well!
Here is an example working for my Lenovo Yoga Thinkpad convertible with touch and stylus:
cat << EOF >> ~/.xinitrc # Map touchscreen and pen to correct screen xinput --map-to-output 'Wacom Pen and multitouch sensor Finger touch' eDP1 xinput --map-to-output 'Wacom Pen and multitouch sensor Pen stylus' eDP1 xinput --map-to-output 'Wacom Pen and multitouch sensor Pen eraser' eDP1 EOF
Edit: I just realized, I have to execute the above 3 xinput lines each time I rotate the eDP1 screen. But what do you think, shall we mention this as a method in the Tablet article as well?