How to Disable Screen Sleep in Raspberry Pi

If you have been using a Raspberry Pi, you might have encountered that the screen sleeps or turns off after some time when you do not use the mouse or keyboard.

The turning off of the display when there is no activity in Raspberry Pi is called Screen Blanking. By default this is enabled.

Screen Blanking or sleeping is good if you want to save power, but distracting (sometimes annoying) if you are doing something in the Raspberry Pi.

To turn this feature off you do not have to install xscreensaver, you only need to disable it in the Raspberry Pi Configuration.

Follow the steps below to disable screen sleeping of your Raspberry Pi.


Steps to disable Screen Blanking or Sleeping with the Raspberry Pi

Click on the Menu button on the upper right (Raspberry Pi Icon) >> Preferences >> Raspberry Pi Configuration.

In Raspberry Pi Configuration Window, click on Display Tab.

Look for the Screen Blanking row, click Disable.

Then click OK.

A window will open and asks if you like to reboot the Raspberry Pi. Click Yes.

Raspberry Pi will reboot.

Once reboot is finished you will now be able to use the Raspberry Pi without the screen turning off when you are not doing anything.


I hope the above information helped.