How to prevent the Raspberry Pi screen from going to sleep

By default a Raspberry Pi's screen will go to sleep after 30 minutes. Not much use when using the screen to monitor something

to prevent the screen from sleeping
sudo nano /etc/kbd/config
find this section

# screen blanking timeout. monitor remains on, but the screen is cleared to
# range: 0-60 min (0==never) kernels I've looked at default to 10 minutes.
# (see linux/drivers/char/console.c)
BLANK_TIME=30

# blanking method (VESA DPMS mode to use after BLANK_TIME, before powerdown):
# on: the default, no DPMS signalling. near instant powerup, no power saving

Change BLANK_TIME to zero
BLANK_TIME=0

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>