Disable screensaver/blanking on Raspberry Pi

For permanent display screens (e.g. digiclock) run by a Raspberry Pi it is useful to disable screen blanking and the screen-saver. These two config-edits seem to work: https://www.raspberrypi.org/forums/viewtopic.php?t=57552

In /etc/xdg/lxsession/LXDE-pi/autostart we want

And then in /etc/lightdm/lightdm.conf

2 thoughts on “Disable screensaver/blanking on Raspberry Pi”

  1. I have a raspberry pi 0 -a. I am using the program HamClock.
    Works great, but the only thing is the ham clock displays for about
    2 to 3 min. and then goes blank and say NO SIGNAL. I then click the left mouse button, and the ham clock displays again, until another 2 to 3 min. I was told it is in the PI software or hardware.
    How do you turn this off? So it keeps displaying the ham clock?

    Thank you John

    1. Hi John, I have only worked with the Pi 3B (I think that is the right model), and the new Pi 4, and these instructions should work (at the time I wrote them...) for the default raspbian install that these run.
      If your screen goes completely blank, maybe this is a power-saving/management feature and not so much a screen-saver?


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.