Page 1 of 1
kiosk mode and screen rotation
Posted: Tue Jan 15, 2019 9:38 pm
by peschermer
Hello,
I'm quite new to raspberry pi programming (version 3) and need some help getting things set up.
I've installed the img on the SD, got a show file, connected a 5 inch touchscreen and even got the web and ssh working.
Now I have two questions. One is simple, the other one not so simple.
1: how do I make the software starte in kioskmode? Preferable from ssh or commandline on the pi.
2: i found a way to rotate the screen 90 degrees, but I cant figure out how to rotate the touch input.
Im not really good with programming, but any help would be appreciated.
Thank you
Paul
Re: kiosk mode and screen rotation
Posted: Wed Jan 16, 2019 7:50 am
by mcallegari
1- edit the file /etc/init.d/qlcplus and look for a line starting with QLCPLUS_OPTS=”...” and add the -k option
2- depends on the display/touchscreen interface. Please share some product info
Re: kiosk mode and screen rotation
Posted: Wed Jan 16, 2019 7:35 pm
by peschermer
Hi,
please help me, I cannot find out how to edit qlcplus via ssh.
I tried "sudo nano etc/init.d/qlcplus" but the directory does not exist.
As for the touchscreen, it's a 5 inch screen, model XPT2046.
I got lucky getting it to work, not sure how I did it.
I just cant get the touch input to rotate.
Re: kiosk mode and screen rotation
Posted: Thu Jan 17, 2019 7:10 am
by mcallegari
You're missing a slash. It's
Re: kiosk mode and screen rotation
Posted: Fri Jan 18, 2019 8:07 pm
by peschermer
Thanks! found it.
Any thoughts about the touch screen rotation?
Re: kiosk mode and screen rotation
Posted: Mon Jan 21, 2019 10:45 am
by GGGss
You didn't answer the question:
"2- depends on the display/touchscreen interface. Please share some product info"
Re: kiosk mode and screen rotation
Posted: Mon Jan 21, 2019 3:55 pm
by peschermer
peschermer wrote: ↑Wed Jan 16, 2019 7:35 pm
As for the touchscreen, it's a 5 inch screen, model XPT2046.
I got lucky getting it to work, not sure how I did it.
I just cant get the touch input to rotate.
If you need more info, let me know, I'll see if I can find it.
Re: kiosk mode and screen rotation
Posted: Sun Feb 03, 2019 5:28 pm
by peschermer
BUMP
I'm still trying to rotate the touchscreen.
display_rotate=3 makes only the screen rotate, not the touchscreen input
lcd_rotate=3 doesn't work at all, it wont rotate anything.
I found a post on the raspberry forum, they were talking a bout Xinput and calibration.
Now I dont know much about the raspberry coding, but I know how to type commands. until it doesn't have the outcome it should have.
my only guess is that this only works with other linux builds.
I'm really stuck here, any pointers in the right direction are very welcom!
I'm using a 5 inch display, XPT2046