If you want to use your Raspberry Pi 3 for monitoring purposes like I do, you probably want to disable screensaver and screen blanking on your Raspberry Pi 3.
I just bought my first Raspberry a few days ago and want to dive into it and see what it’s capable of. I want to utilize this one mostly for monitoring, to attach it to a screen and run a couple of dashboards that oversee my network.
I use Raspbian as the operating system but the steps should be the same in other OS versions.
First, open a terminal window then enter:
1. sudo nano ~/.config/lxsession/LXDE-pi/autostart
You will end up in your autostart script, now we need to edit a line and add 4 new ones. Your initial autostart config should look something like this:
@lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash
Now we want to modify it to look like this:
@lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi #@xscreensaver -no-splash @xset s off @xset -dpms @xset s noblank @unclutter
Please note that we uncomment @xscreensaver -no-splash with a # in front of it!
2. Save the file by pressing CTRL+X and hit Y to confirm saving.
3. Reboot your Raspberry Pi 3 to load the autostart config
And that’s really it! Now your screen shouldn’t go blank anymore.