How to get rid of kalarm AND promote zenity plus good tool usage
- From: Mathias Hasselmann <mathias hasselmann gmx de>
- To: desktop-devel-list gnome org
- Subject: How to get rid of kalarm AND promote zenity plus good tool usage
- Date: Mon, 09 Aug 2004 20:26:44 +0200
Just seen the following conversation on IRC (#gnome channel):
<shaunm_> how do I get rid of kalarm
<shaunm_> oh wily little kalarmd
<pycage> #! /bin/sh
<pycage> <pycage> TIMEOUT=$(zenity --entry --text="Enter timeout:" --entry-text="3m")
<pycage> sleep $TIMEOUT
<pycage> zenity --info --text="Alarm!"
In my opinion this tiny script suggested by psydave should be included
into the very next release of the GNOME Desktop, because:
1) It prevents people from asking for some kalarm replacement
2) Promotes zenity
3) Demonstrates how to solve such trivial tasks
--> snip: the script in plain text --> ---------------------------------
#!/bin/bash
#
# Some tiny script simulating kalarm and promoting zenity
# Author: psydave
#
TIMEOUT=$(zenity --entry --text="Enter timeout:" --entry-text="3m")
sleep $TIMEOUT
zenity --info --text="Alarm!"
--
Mathias Hasselmann <mathias hasselmann gmx de>
http://www.taschenorakel.de/mathias/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]