August 2009 Archives
-
Sometimes I run a command on my machine which may take quite some time until completion. I used to check out its status in the terminal I launched it from periodically. Yet there's an easier way by queueing a message via notify-send or something more obtrusive with zenity.
sleep 5 && notify-send "Finished task"
sleep 15 && zenity --info --text="Finished long task"
You may take it literally as well, but sleep is obviously my time consuming task.