Difference between revisions of "How to keep the screen always on"

From LCD wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{lan
 +
    |cn=http://www.lcdwiki.com/zh/如何设置屏幕长亮
 +
    |en=http://www.lcdwiki.com/How_to_keep_the_screen_always_on                                                   
 +
}}
 
== <font color="blue">Question :</font>==
 
== <font color="blue">Question :</font>==
 
How to keep the screen always on?
 
How to keep the screen always on?

Latest revision as of 15:14, 4 June 2020


语言选择

Languages

➤中文
➤EN


Question :

How to keep the screen always on?


Solution :

The screen saver can be turned off with the following Settings. Open lightdm.conf

sudo nano /etc/lightdm/lightdm.conf 

Find the following code

#xserver-command=X

Be revised as

xserver-command=X -s 0 -dpms 


Take effect after reboot

sudo reboot 




PS:The user can also set the HDMI interface screen to close and open with the following command

Close:

vcgencmd display_power 0  

Open:

vcgencmd display_power 1