Difference between revisions of "Disable screensaver and screen blanking Raspberry Pi"

From ETCwiki
Jump to navigationJump to search
 
Tag: New redirect
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
#REDIRECT[[Raspberry Pi 4 - Screen Blanking manually via command line 2023]]
 +
 +
'''This is for an old Raspberry Pi. See our new documentation here: [[Raspberry Pi 4 - Screen Blanking manually via command line 2023]]'''
 +
 +
'''This is for an old Raspberry Pi. See our new documentation here: [[Raspberry Pi 4 - Screen Blanking manually via command line 2023]]'''
 +
 
This 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.
 
This 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.
  
 +
==Disable RPi screen blanking in console==
 
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:
 
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:
  
Line 8: Line 15:
 
  BLANK_DPMS=off
 
  BLANK_DPMS=off
 
  POWERDOWN_TIME=0
 
  POWERDOWN_TIME=0
 +
 +
 +
 +
==Disable screensaver and blanking RPi in Pixel Raspbian==
 +
This will disable screen blanking and blacking etc while within X on the Pi. This is for Raspbian Pixel
 +
*edit /etc/xdg/lxsession/LXDE-pi/autostart as root
 +
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
 +
*Add these lines if they do not already exist
 +
@xset s noblank
 +
@xset s off
 +
@xset -dpms
 +
 +
 +
==External Links==
 +
*[https://www.raspberrypi.org/forums/viewtopic.php?t=57552 How to disable screensaver Raspberry Pi] - Same solution as here
 +
*[http://raspberrypi.stackexchange.com/questions/752/how-do-i-prevent-the-screen-from-going-blank StackExchange] - Similar/Same question
 +
  
 
[[Category: Raspberry Pi]]
 
[[Category: Raspberry Pi]]

Latest revision as of 18:42, 18 January 2023

This is for an old Raspberry Pi. See our new documentation here: Raspberry Pi 4 - Screen Blanking manually via command line 2023

This is for an old Raspberry Pi. See our new documentation here: Raspberry Pi 4 - Screen Blanking manually via command line 2023

This 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.

Disable RPi screen blanking in console

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


Disable screensaver and blanking RPi in Pixel Raspbian

This will disable screen blanking and blacking etc while within X on the Pi. This is for Raspbian Pixel

  • edit /etc/xdg/lxsession/LXDE-pi/autostart as root
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
  • Add these lines if they do not already exist
@xset s noblank 
@xset s off 
@xset -dpms


External Links