kiosk mode and screen rotation

All the topics related to QLC+ on the Raspberry Pi
Post Reply
peschermer
Posts: 13
Joined: Tue Jan 15, 2019 9:22 pm
Real Name: Paul Schermer

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
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
peschermer
Posts: 13
Joined: Tue Jan 15, 2019 9:22 pm
Real Name: Paul Schermer

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.
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Code: Select all

sudo nano etc/init.d/qlcplus
You're missing a slash. It's

Code: Select all

sudo nano /etc/init.d/qlcplus
peschermer
Posts: 13
Joined: Tue Jan 15, 2019 9:22 pm
Real Name: Paul Schermer

Thanks! found it.

Any thoughts about the touch screen rotation?
User avatar
GGGss
Posts: 2732
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

You didn't answer the question:
"2- depends on the display/touchscreen interface. Please share some product info"
All electric machines work on smoke... when the smoke escapes... they don't work anymore
peschermer
Posts: 13
Joined: Tue Jan 15, 2019 9:22 pm
Real Name: Paul Schermer

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.
peschermer
Posts: 13
Joined: Tue Jan 15, 2019 9:22 pm
Real Name: Paul Schermer

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
Post Reply