Courage2000
Posts: 6
Joined: Tue Feb 23, 2021 9:00 pm

External LCD display Standby

Fri Sep 22, 2023 9:26 pm

Hello!
I have a RPI 3b+ computer with Buster and an external touchscreen.

I want to be able to put that LCD in standby mode, but to be able to wake up on touch.
Now I use the blanking method via xscreenaver, but in this case, the LCD is not really closed, is blank - I can see the hallo.

I want the display part to be closed.

It's possible and how?

The display is connected via a ribbon cable, not HDMI.

Thank you

User avatar
kerry_s
Posts: 7134
Joined: Thu Jan 30, 2020 7:14 pm

Re: External LCD display Standby

Fri Sep 22, 2023 9:34 pm

if it's off there is no touch.
can you touch the screen on your phone to wake it up ?

Courage2000
Posts: 6
Joined: Tue Feb 23, 2021 9:00 pm

Re: External LCD display Standby

Fri Sep 22, 2023 10:27 pm

Actually, it seems to work If I run manually those commands. The display is OFF, not only blanked.

Code: Select all

export DISPLAY=:0
xset dpms force off
If I put the same lines inside this file, it does not work :(

Code: Select all

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Code: Select all

xset dpms force off
xset s 120

Courage2000
Posts: 6
Joined: Tue Feb 23, 2021 9:00 pm

Re: External LCD display Standby

Fri Sep 22, 2023 11:18 pm

The problem was fixed via xscreensaver settings!

Edit autorestart file

Code: Select all

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
add this to the end o the file an reboot
@xset dpms

Code: Select all

sudo reboot[/b]



[attachment=1]1.jpg[/attachment] [attachment=0]2.jpg[/attachment] 

All working now. After 2 minutes the LCD is OFF.
I waited 10 minutes and with a touch, the screen wake up immediately.
Attachments
2.jpg
blanking
2.jpg (253.33 KiB) Viewed 241 times
1.jpg
power management
1.jpg (148.25 KiB) Viewed 241 times

Return to “Beginners”