Little Known RedPost Feature: Schedule your screen on/off

This isn’t for the faint of heart, aka, those afraid of the command line, but if you’re running RedPost/Wicker (our customized version of Ubuntu that runs on all our hardware), you can schedule your screen on and off using a handy little script we built. Here’s how:

  1. boot your Sign
  2. hit “ctrl-alt-f1″ to go to the command line
  3. enter the “date” command to make sure your clock’s set right (and set it if its not)
  4. run the following command:
sudo schedule_screen.sh <day_of_week> <on/off> <hour> <minute>
<day_of_week>: 0 is Sunday, 1 Monday, ...
<on/off>: 0 to switch the screen off
1 to switch the screen on
2 to keep the screen power unchanged on this day
<hour>: hour the screen will be switched off (HH)
<minute>: minute the screen will be switched off (MM)

The script will write to your crontab commands to turn the screen on and off at the designated times. Handy, yes? We’re working on building a GUI interface for doing this. And for adding it to our web software so you can remotely set the schedule for your screen. All in good time…

blog comments powered by Disqus