Most of the application can show nicely formatted notification on events that appear on top right corner of the screen. I'm about to write a bash script that will do fairy long processing in the background and I really want to know when it is finished. How can I show that nice notification from a bash script?
|
feedback
|
|
If you're using the new notification system in Jaunty, you want the notify-send command
| |||||
feedback
|
|
For KDE users:
| ||||
|
feedback
|
|
Found another way, through Zenity
(This also has the benefit of already being installed on Ubuntu.) | ||||
|
feedback
|
|
In a shell script, you can also call the osd_cat utility from libxosd. | |||||||
feedback
|
|
There's also xmessage that will pop-up a window, so it shoud work on any X11 system. Pro: It also allows interactively prompting the user with buttons. Con: Like any pop-up alert, it typically receives focus, so if you're in the middle of typing it can disappear before you read the message. | |||
|
feedback
|
