Sound alarm on event notification

Bug #913403 reported by Corey Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alarm Clock Applet
New
Undecided
Unassigned

Bug Description

Personally, I'd like an alarm to sound not necessarily on a fixed timer or repeat but when an event is completed. For example, when my wget finishes. So I'd want something like:

wget -c http://blah.com/foo.tar.gz || sound-alarm

sound-alarm would probably be something like "echo 1 > /var/run/alarm-clock", where alarm-clock would be a FIFO. This would then make a noise or do whatever it is configured to do. Alternatively it would push some sort of serialized object about the title of the event, etc, for use in what is shown using libnotify. Just a brainstorm.

I'll probably implement this this week, if you don't want to / don't want it merged into trunk (I understand).

Revision history for this message
Johannes H. Jensen (joh) wrote :

Interesting use case, although I think it's slightly of of scope for Alarm Clock ;)

A simple script should do the trick though. You can use 'notify-send' to send the notification and aplay/mplayer/gst-launch to play a sound.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.