Re: 'Kitchen'-Timer Applet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 12 Feb 2005 11:51:04 +0100
Thomas Zehetbauer <thomasz@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
*  Chemistry instructor / Mad scientist / Linux enthusiast!
--------------------------------------------------------------------
*  Web: http://home.mindspring.com/~charletiv/
--------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux