'Kitchen'-Timer Applet

Charles E Taylor IV tomalek at mindspring.com
Sat Feb 12 23:35:13 UTC 2005


On Sat, 12 Feb 2005 11:51:04 +0100
Thomas Zehetbauer <thomasz at hostmaster.org> wrote:

> Hi,
> 
> is someone aware of a 'kitchen'-timer applet for gnome? Something small
> sitting in the dock that pops up a time entry form when clicked and
> notifies the user when that time has come.

If nothing else works for you, then why not try a simple script like this?

----------------------------
#!/bin/bash
#
# simpletimer.sh
#
# Simple timer script.
#
SLEEPARG=`zenity --entry --title="Simple Timer" \
 --text="Enter time in seconds."`
sleep $SLEEPARG
play /usr/share/sounds/startup3.wav
zenity --info --title="Simple Timer" --text="Time is up."
-----------------------------

Save the script as something like "simpletimer.sh", create a launcher for
it in your gnome panel, and enjoy.  The script will ask you how many
seconds you'd like to time (you can also enter the time in minures by
entering something like 15m), wait the specified tome, then play a sound
and put up another box letting you know that the time is up.

-- 
--------------------------------------------------------------------
*  Charles Taylor <tomalek at mindspring.com>
*  Chemistry instructor / Mad scientist / Linux enthusiast!
--------------------------------------------------------------------
*  Web: http://home.mindspring.com/~charletiv/
--------------------------------------------------------------------




More information about the fedora-list mailing list