A python based super simplified notification system. This project is designed to give basic notification capabilities with minimal requirements.
* Python (Only tested with 2.4, others may work) * GTK+ >= 2.x * PyGTK >= 2.10
By default the server runs on port 2199. Start the server by running
To send a notification run
./notify <message to display>
This program can be used to alert you when a command completes. You can even have different messages for success and failure.
Create an alias like the following:
alias all_done="./notify Operation Successful Message || ./notify Operation Failed Message"
Now you can run a long command and add this to the and to get feedback when it is done.
command_that_takes_a_while && alldone
RPC vs. UDS
PyNotify can run in two modes. In RPC mode, it listens on a tcp port for connections. This is bound to localhost by default but can easily be changed to allow other machines to send notifications to the machine running the server. This can obviously be an issue if your co-workers like to spam you. For this reason, PyNotify runs in UDS mode by default. In this mode, it creates a file in your home directory and only users with write access to that file (ie you) can send notifications. The default file for this mode is
Please report any bugs to the issue tracker.