Rotate X11 screen for Hildon desktop by default
Created by: ollieparanoid
Hildon looks strange, when the screeen is not rotated by 90 degrees for most phones.
@montvid wrote in https://github.com/postmarketOS/pmbootstrap/pull/713#issuecomment-337570371:
I propose adding xrandr and xinput apks to hildon and adding lines to sh:
xrandr -o right
xinput set-prop '*Your touchscreen name' 'Coordinate Transformation Matrix' \
0 1 0 -1 0 1 0 0 1*if someone knows how to parse the name of the touch device please share. https://wiki.ubuntu.com/X/InputCoordinateTransformation