Any suggestions for Really Annoying Alarms !!?
Nifty Fedora Mitch
niftyfedora at niftyegg.com
Wed Jul 16 05:40:38 UTC 2008
On Wed, Jul 09, 2008 at 02:32:54PM +0200, Andrew Kelly wrote:
> Sender: fedora-list-bounces at redhat.com
>
>
> On Wed, 2008-07-09 at 08:15 -0400, William Case wrote:
>
> <snip>
> Been there, done that.
>
> > There is lots of alarm programs out there, but I want something that is
> > simple to set, then grabs you by the throat and won't let you go until
> > you do whatever it is you are supposed to do.
> >
> > Years and years ago I used to have one in dos that was, in the jargon of
> > the day, Terminate and Stay Resident. Once you set that sucker it would
> > never let you ignore it -- a rising crescendo of flashing screens and
> > beeps and baps -- really fffing annoying.
>
> Cron and a script.
>
> Beans and rice of the *nix diet.
>
> Use a while(1) loop to alternate between sleep and calling xmessage or
> something of that nature. That'll pretty much give you your TSR
> behavior, and keep firing alerts at you that you have to click away.
With cron, or at play a gaggle of noxious sounds.
$ cat `which sound-alarm`
#! /bin/bash
# GPL with credit
/usr/binplay `locate sounds/gong.wav`
wait
/usr/bin/play `locate gallery/sounds/train.wav `
Try
at now + 2 min
sound-alarm
^d
Looks like:
$ at now + 2 min
at> sound-alarm
at> <EOT>
job 2 at Tue Jul 15 22:39:00 2008
And here comes the dog to see what the fool is doing this time.
--
T o m M i t c h e l l
Looking for a place to hang my hat :-(
More information about the users
mailing list