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

From LCD wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
{{lan
 
{{lan
     |cn=http://www.lcdwiki.com/zh/%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AE%E5%B1%8F%E5%B9%95%E9%95%BF%E4%BA%AE
+
     |cn=http://www.lcdwiki.com/zh/如何设置屏幕长亮
     |en=http://www.lcdwiki.com/How_to_keep_the_screen_always_on                                                    }}
+
     |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