I'm about to go back to my day job from my lunch break, but before I do I want to announce a little tool called #blueshift.
You can run it in ~/.xsession, as a cron job, or in /etc/apm/resume.
I found a bug in #blueshift where the script wasn't handling times outside daylight hours properly.
That's fixed in v1.1.0, and the script will also check $DISPLAY to confirm that you have X11 running.
@pfm You're welcome.
Thanks for telling me about this. The manual page for sct(1) didn't mention sctd under "see also" and I never thought to look at the port's Makefile. Now that I know, I might use it on desktop rigs.
blueshift approaches the same problem sctd(1) solves from a different angle. It doesn't make as many calls and doesn't run in the background and wake every 60 seconds, so it might be better for laptops unless you have a cron job calling blueshift runnng every five minutes. :)
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko