Created
June 12, 2017 10:18
-
-
Save hitesh83/0032d734452a4ce5a92138ab76c0493c to your computer and use it in GitHub Desktop.
How to Disable the Blank Screen on Raspberry Pi (Raspbian)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment