[clug] Countdown Timer
David (Price) Lattimore
david at dmprice.com
Tue Oct 26 02:11:09 MDT 2010
You could use osd_cat (Debian / Ubuntu package xosd-bin) to display some
large text on the screen. Something like the following does a basic
countdown of how long until 7:30.
while true; do sleep 1; REMAIN=$[ $(date +%s -d '7:30pm') - $(date +%s)
]; date +%M:%S -d "12am +${REMAIN}seconds"; done | osd_cat -l 1 -f
'-*-times-bold-r-normal--*-3400-*-*-*-*-*-*'
You'd presumably want to display a black background, but there's plenty
of things that can do that.
More information about the linux
mailing list