More actions
Created page with "== <font color="blue">Question :</font>== Some customers want to display it without screen saver. == <font color="blue">Solution :</font>== 可以通过如下设置。..." |
No edit summary |
||
Line 1: | Line 1: | ||
== <font color="blue">Question :</font>== | == <font color="blue">Question :</font>== | ||
How to keep the screen always on? | |||
== <font color="blue">Solution :</font>== | == <font color="blue">Solution :</font>== | ||
The screen saver can be turned off with the following Settings. | |||
Open lightdm.conf | |||
<pre> | <pre> | ||
sudo nano /etc/lightdm/lightdm.conf | sudo nano /etc/lightdm/lightdm.conf | ||
</pre> | </pre> | ||
Find the following code | |||
<pre> | <pre> | ||
#xserver-command=X | #xserver-command=X | ||
</pre> | </pre> | ||
Be revised as | |||
<pre> | <pre> | ||
xserver-command=X -s 0 -dpms | xserver-command=X -s 0 -dpms | ||
</pre> | </pre> | ||
Take effect after reboot | |||
<pre> | <pre> | ||
Line 28: | Line 28: | ||
<br> | <br> | ||
<br> | <br> | ||
PS: | PS:The user can also set the HDMI interface screen to close and open with the following command | ||
Close: | |||
<pre> | <pre> | ||
vcgencmd display_power 0 | vcgencmd display_power 0 | ||
</pre> | </pre> | ||
Open: | |||
<pre> | <pre> | ||
vcgencmd display_power 1 | vcgencmd display_power 1 | ||
</pre> | </pre> |
Revision as of 15:11, 4 June 2020
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