akas
Posts: 2
Joined: Wed Oct 18, 2017 7:31 am

Rotate display 90º? (not official touch screen)

Wed Oct 18, 2017 7:55 am

I have a touch screen with 90 degree (portrait) rotation, this is what worked for me:

For display rotation, add to /boot/config.txt

Code: Select all

display_rotate=1
For touch screen rotation, run command

Code: Select all

DISPLAY=:0 /usr/bin/xinput --set-prop 'LGE Touch Device (HS) LGE HID Multi-Touch ATI0320-10' 'Coordinate Transformation Matrix'  0 1 0 -1 0 1 0 0 1 

DirkS
Posts: 10371
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Rotate display 90º?

Wed Oct 18, 2017 6:31 pm

akas wrote:
Wed Oct 18, 2017 7:55 am
I have a touch screen with 90 degree (portrait) rotation, this is what worked for me:
Not the Official RPF screen, so basically irrelevant to this topic and forum section...

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13142
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Rotate display 90º?

Wed Oct 18, 2017 11:41 pm

thats why I have split of this post, and moved it from the official display section to advanced users.
leaving it there would have confused the official display users.

Return to “Advanced users”