W. H. Heydt wrote: ↑
Tue Oct 30, 2018 2:44 pm
DougieLawson wrote: ↑
Thu Jan 04, 2018 10:13 pm
/etc/default/keyboard holds the default keyboard configuration.
(Sorry about the necro...)
That doesn't actually answer the OPs question.
It used to be (Wheezy, Jessie) that one could alter the screen blanking time (or suppress it completely) by setting the BLANK_TIME and POWERDOWN_TIME statements in /etc/kbd/config. Without that file, the only solution anyone seems to have to do this is to add xscreensaver to the system. That's a poor solution.
So at least for me, the question is: Where do those parameters live in Stretch?
The easiest way to disable screen blanking in Raspbian Desktop:
Add these 2 lines to: /home/pi/.config/lxsession/LXDE-pi/autostart
Note that there are 2 screen savers running together so the above commands will turn off both.
The default for both screensavers is 10 min.
If you wanted to change the blanking time to say 15 minutes then the commands are:
(Just leaving the DPMS disabled)
The maximum seconds is 32767
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.