Jaipo::Notify::LibNotify - A easy-to-use interface to show desktop notifications with libnotify.
Jaipo::Notify::LibNotify is a easy-to-use interface to show desktop notifications with libnotify. It doesn't use libnotify directly, but talking to libnotify via dbus.
use Jaipo::Notify::LibNotify; my $notify = Jaipo::Notify::LibNotify->new(); # yell for Service Notify. $notify->yell('Cannot connect to M$-Mi$roBlo$: $!'); # display for message displaying. $notify->display("From Mr.Right: Hello Darling. How are you today?"); # pop_box for message displaying. $notify->pop_box("Are you using M$ windows without buying license?"); # get current timeout setting print Data::Dumper $notify->timeout; # set yell timeout to 10 seconds. default is 5. $notify->timeout("yell" => 10); # set display timeout to 5 seconds. default is 3. $notify->timeout("yell" => 5);
Return a object which talks to libnotify via dbus.
yell for Service Notify. Pops a notification with title "Jaipo Service Notify" and the given message content from you.
display for message displaying. Pops a notification with title "You've Got Message!" and the given message content from you.
pop_box for special message displaying. Pops a window box with title "Pop!" and the given message content from you.
timeout for changing/getting the current timeout value.
BlueT - Matthew Lien - 練喆明, <BlueT at BlueT.org>
<BlueT at BlueT.org>
Please report any bugs or feature requests to bug-jaipo-notify-libnotify at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Jaipo-Notify-LibNotify. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-jaipo-notify-libnotify at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Jaipo::Notify::LibNotify
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Jaipo-Notify-LibNotify
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Jaipo-Notify-LibNotify
CPAN Ratings
http://cpanratings.perl.org/d/Jaipo-Notify-LibNotify
Search CPAN
http://search.cpan.org/dist/Jaipo-Notify-LibNotify
Copyright 2009 BlueT - Matthew Lien - 練喆明, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Jaipo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jaipo
CPAN shell
perl -MCPAN -e shell install Jaipo
For more information on module installation, please visit the detailed CPAN module installation guide.