How to Disable the Blank Screen on Raspberry Pi (Raspbian)
Here are two techniques to disable the blank screen on the Raspberry Pi. By default the screen is blanked after around 10/15 minutes if no user input (mouse or keyboard) is detected.
I successfully tested both methods with a Raspberry Pi 2 + latest Raspbian Jessie (v4.1) + 7-inch touchscreen display.
1 – Disabling the blank screen once
You can disable the blank screen once with the following command line instructions:
$ sudo xset s off $ sudo xset -dpms $ sudo xset s noblank
xset s off disable the screen saver, xset -dpms disables the DPMS (Display Power Management Signaling) and xset s noblank tells to X server to not blank the video device.
2 – Disabling the blank screen forever
If you want to disable the blank screen at every startup, just update the /etc/lightdm/lightdm.conf file and add in the [SeatDefaults] section the following command:
[SeatDefaults] xserver-command=X -s 0 -dpms
You need root rights to update the lightdm.conf file. You can use the nano editor:
$ sudo nano /etc/lightdm/lightdm.conf
ไม่มีความคิดเห็น:
แสดงความคิดเห็น