JadeMonkee wrote: > Hi there, > Currently using Jivelite + PcP on a RPi 7" touchscreen as a now playing > screen and clock in my dining room. > I currently have the "screensaver when off" as a clock, but I would like > to turn the screen backlight off as per a schedule. > The best way I can think is to set the "screensaver when off" option to > "display off" every night at 11pm, then turn it back to "black clock" at > 7am every morning. > > I note that there is a way to set cron tasks in the web interface, but > is there a command I can enter there that changes the screensaver? > > Failing a screensaver change, I could also just send a command to turn > the display off - but screensaver would be preferred, as if it won't > turn the display off if I'm still listening to music, and won't be > difficult to turn the display back on before the 7am cron runs. > > Thanks for your help.
You could setup a cron job to turn off the screen. echo "1" > /sys/class/backlight/rpi_backlight/bl_power and another to turn it on echo "0" > /sys/class/backlight/rpi_backlight/bl_power Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix