How to display Gnome notification messagePosted: February 15, 2013
If you want to display a custom Gnome pop-up notification message from a shell script, just run:
notify-send "Hello world"
To create a full featured message dialog you may want to have a title, a message text and an icon.
You can refer to a standard icon by its name only (instead of the name of its image file), e.g.:
notify-send -i "stock_dialog-info" "Test" "This is a test"
On Mint 13 with MATE this uses icon image stock_dialog-info.png from directory /usr/share/icons/Mint-X/status/48
If you prefer, you can instead refer to icon by its full file name:
notify-send -i "/usr/share/icons/Mint-X/status/48/stock_dialog-info.png" "Test" "This is a test"
Using full file name lets you use icons from any other directory anywhere in your file system, e.g.:
notify-send -i "/usr/share/pixmaps/mdm-foot-logo.png" "Test" "This is a test"
If copy+paste of this examples does not work as expected, just retype it to avoid interference of HTML formatting.