Disable screensaver and screen blanking Raspberry Pi
From ETCwiki
Jump to navigationJump to searchThis is how to disable screen blanking on the Raspberry Pi running debian (raspbian) which will stop the screensaver (a blank screen) from starting during command line usage.
If your screen goes black during command line after 30 minutes or so, you have screen blanking enabled most likely. If you want to turn it off:
Edit the file /etc/kbd/config Change these lines:
BLANK_TIME=0 BLANK_DPMS=off POWERDOWN_TIME=0