klricks
Posts: 6231
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: STICKY: Howto: Disable Screen Saver In Raspbian

Tue Feb 26, 2019 6:16 pm

jamesh wrote:
Tue Feb 26, 2019 3:26 pm
There is some official documentation here.

https://www.raspberrypi.org/documentati ... ensaver.md

If anyone finds that doesn't work, please indicate the problem by posting in this thread.
xscreensaver works but it is a 40MB install and adds a background process.

Simpler to do these commands (For GUI Desktop only):

Code: Select all

xset s off
xset -dpms
To make permanent add those 2 commands to autostart

Code: Select all

/etc/xdg/lxsession/LXDE-pi/autostart
Unless specified otherwise my response is based on the latest and fully updated Raspbian Stretch w/ Desktop OS.

jwilson115
Posts: 1
Joined: Fri Mar 15, 2019 6:13 am
Location: Chicago
Contact: Website

Re: STICKY: Howto: Disable Screen Saver In Raspbian

Fri Mar 15, 2019 6:21 am

On the Console
If you are using the Raspberry Pi solely on the console (no desktop GUI), you need to set the console blanking. The current setting, in seconds, can be displayed using

cat /sys/module/kernel/parameters/consoleblank
Here, consoleblank is a kernel parameter. In order to be permanently set, it needs to be defined on the kernel command line.

sudo nano /boot/cmdline.txt
Add consoleblank=0 to turn screen blanking off completely, or edit it to set the number of seconds of inactivity before the console will blank. Note the kernel command line must be a single line of text.

regroers
Posts: 5
Joined: Sat Mar 16, 2019 7:47 am
Location: Illinois, USA

Re: STICKY: Howto: Disable Screen Saver In Raspbian

Sat Mar 16, 2019 7:55 am

Thank you. This is very useful.
It is more fun to drive a slow car fast than to drive a fast car slow.

regroers
Posts: 5
Joined: Sat Mar 16, 2019 7:47 am
Location: Illinois, USA

Re: STICKY: Howto: Disable Screen Saver In Raspbian

Thu Mar 21, 2019 5:51 am

Thanks man! This worked on me. :D
It is more fun to drive a slow car fast than to drive a fast car slow.

Return to “Beginners”