This question already has an answer here:
We intend to use a RPi at work to drive a status display panel - it will show our project's bug status and a few other statistics of vital importance.
I've been trying stop the screen-saver from blanking the screen with no luck. I've used the following formulas:
I can get Chromium auto-starting in Kiosk mode (I used an item in
.config/autostart), but I cannot stop the screen-blanking. X-Windows does not seem to be responding to the
.xinitrc file. I tried editing this file on the default user (
pi) and also
root. Nothing seems to make a difference to the screen saver.
Has anybody managed to stop screen-blanking on Raspbian? Is there a UI option or even a configuration file which will allow me to permanently change the screensaver time out?
I expect that some of these guides might have been tested on other RPi operating systems. Could it be that using the newer Raspbian I need to adopt a different approach to preventing screen blanking?
UPDATE 0: The
xset command is able to stop screen blanking when entered directly (via
sudo) from the
xterm. It does not work when run from the
.xinitrc file. Given that the machine auto-logs in as user "
pi", how can I ensure that these commands are executed as root every time xwindows fires up.
This machine must be able to run unattended as a sort of kiosk. Once it's in place (it will be a wall-mounted display with no keyboard or mouse permanently attached) the only way we will be able to configure it is via