nserver
by Jon Moses
http://burningbush.rubyforge.org/nserver/
== DESCRIPTION:
A notification server for Linux built with libnotify.
== FEATURES/PROBLEMS:
* Persistent server with notification queueing
* Uses X.org SYSTRAY specification (via gtk2)
== SYNOPSIS:
=== Server Example:
If you have the Daemons ruby gem installed, simply run:
% nserver start
This starts a persistent NServer::Server instance on port 10001.
If you want to customize the bind ip or port:
% nserver start --bind-ip x.x.x.x --allow y.y.y.y,z.z.z.z/24
=== Client Example:
Assuming you have a NServer::Server instance running, you can use the client like this:
require 'rubygems'
require 'nserver'
NServer::Client.notify("My test message goes here").
Or, if you want a easy command line client:
% nclient "Message"
or
% nclient "Urgent message" -p critical
If you're NServer is listening on another mahcine, you can:
% nclient --host y.y.y.y "My message"
== REQUIREMENTS:
* daemons
* rnotify
* gtk
== INSTALL:
% gem install nserver
== LICENSE:
NServer is released under the GPL. Text is available at http://www.gnu.org/copyleft/gpl.html
by Jon Moses
http://burningbush.rubyforge.org/nserver/
== DESCRIPTION:
A notification server for Linux built with libnotify.
== FEATURES/PROBLEMS:
* Persistent server with notification queueing
* Uses X.org SYSTRAY specification (via gtk2)
== SYNOPSIS:
=== Server Example:
If you have the Daemons ruby gem installed, simply run:
% nserver start
This starts a persistent NServer::Server instance on port 10001.
If you want to customize the bind ip or port:
% nserver start --bind-ip x.x.x.x --allow y.y.y.y,z.z.z.z/24
=== Client Example:
Assuming you have a NServer::Server instance running, you can use the client like this:
require 'rubygems'
require 'nserver'
NServer::Client.notify("My test message goes here").
Or, if you want a easy command line client:
% nclient "Message"
or
% nclient "Urgent message" -p critical
If you're NServer is listening on another mahcine, you can:
% nclient --host y.y.y.y "My message"
== REQUIREMENTS:
* daemons
* rnotify
* gtk
== INSTALL:
% gem install nserver
== LICENSE:
NServer is released under the GPL. Text is available at http://www.gnu.org/copyleft/gpl.html