I have a Ubuntu 14.04 set up as a kiosk that starts Firefox in /etc/init/x.conf
like this:
exec su -c "startx /etc/X11/Xsession /home/kiosk/kiosk.sh --" kiosk
(see details here: How to make ubuntu 14.04 a kiosk)
I want the screen to stay on for 60 minutes before going blank, however I haven't been able to overrule the default 10 minutes limit.
This is what I have tried:
- In
lightdm
screen blank options is set to 60 minutes for the kiosk user - I have tried to add an
/home/kiosk/.xinitrc
file withxset
options - I have tried to add an
XAUTHORITY=/home/kiosk/.Xauthority xset -display :0.0 s off
in my kiosk start script - I have tried to add
/etc/X11/xorg.conf
withOption "BlankTime" "60"
What is the correct way to configure screen blank time when starting x with startx
from a shell script?