I want to write scripts on Ubuntu that will notify the user through a tool analogous to Growl on OS X (specifically, the growlnotify command-line tool). What's the equivalent tool on Linux called?
|
|
|||
|
|
|
Ubuntu can show notifications, which seem to be equivalent to Growl. It is accessible through DBus (for programs) and through the |
|||||||||||||
|
|
There is a Growl port for Linux. Found here: Growl-for-linux |
|||
|
|
|
if you are using KDE, it is real easy! just use the kdialog command that is built-in to KDE, as in the example below:
if you happen to be using plain ubuntu, then you need to install the libnotify-bin package by issuing the following command:
and then you can send messages with like this:
the kdialog is a bit more interesting because it does way more than just send notifications from the command-line. you can actually build an interactive gui for your bash programs with it! anyway, i hope this helps. |
|||
|
|
|
This link shows how to do something similar using Ghosd and Perl. I hope this helps. |
|||||
|
|
Linux, being the beast it is, supports a number of notification applications that can be used to achieve this. A quick "alternativeto.net" search resulted in the promising "notifyOSD" by canonical (mentioned in a previous reply) and "notifo". |
|||
|
|