rotate screen

Raspberry Pi related support

rotate screen

Postby danco89 » 09 Mar 2017, 04:40

need to know how to rotate screen
is there a step by step on this found some code
# LCD settings
# 180 degrees
lcd_rotate=2
# Normal
#lcd_rotate=0
how do you enter
danco89
 
Posts: 8
Joined: 09 Mar 2017, 04:28

Re: rotate screen

Postby sysco » 09 Mar 2017, 08:21

sudo nano /boot/config.txt



display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
NOTE: You can rotate both the image and touch interface 180º by entering lcd_rotate=2 instead
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal flip
display_rotate=0x20000 vertical flip
sysco
 
Posts: 9
Joined: 05 Mar 2017, 18:10

Re: rotate screen

Postby danco89 » 09 Mar 2017, 14:45

where and how do you enter this
danco89
 
Posts: 8
Joined: 09 Mar 2017, 04:28

Re: rotate screen

Postby sysco » 09 Mar 2017, 15:43

danco89 wrote:where and how do you enter this


Put sd in your computer and edit the file config.txt.

Or open ssh session and edit /boot/config.txt.

Or in raspberry open a terminal (Control + F1) and type nano /boot/config.txt.

Please read the docs.
sysco
 
Posts: 9
Joined: 05 Mar 2017, 18:10

Re: rotate screen

Postby danco89 » 09 Mar 2017, 19:17

thank you for trying sounds like i need to some research and read the docs
danco89
 
Posts: 8
Joined: 09 Mar 2017, 04:28

Re: rotate screen

Postby andib » 17 Mar 2017, 21:40

If you have to rotate the rpi 7" display to portrait (270°) you have to use two things:

1. edit the config.txt and put in display_rotate=3
2. rotate the Touchscreen with
Code: Select all
sudo DISPLAY=:0 xinput --set-prop 'FT5406 memory based driver' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
from a SSH console. Without ssh its
Code: Select all
sudo xinput --set-prop 'FT5406 memory based driver' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1


im not familar with unix. For Point 2 you have to made a sript to apply it on boot.

Perhaps somebody could make the configuration from the UI?
andib
 
Posts: 4
Joined: 17 Mar 2017, 21:03

Re: rotate screen

Postby danco89 » 17 Mar 2017, 22:36

cant figure out how this is done
not a coder is there a step by step
or can you update in next version of
rune
danco89
 
Posts: 8
Joined: 09 Mar 2017, 04:28

Re: rotate screen

Postby hondagx35 » 18 Mar 2017, 17:29

Hi danco89,

connect your SD card to your computer and navigate (file browser) to:
/boot/config.txt

Open this file with your text editor and search for the line:
lcd_rotate=2

Change that number to your needs.
lcd_rotate=0 Normal
lcd_rotate=1 90 degrees
lcd_rotate=2 180 degrees
lcd_rotate=3 270 degrees

Save the file and put the SD card back in your Pi.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: rotate screen

Postby danco89 » 21 Mar 2017, 02:10

thank you for being patient
figured it out i didn't know i
needed to use note pad
danco89
 
Posts: 8
Joined: 09 Mar 2017, 04:28

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests