[cups.general] Desktop Notification

Tim Waugh twaugh at redhat.com
Thu Apr 14 03:27:37 PDT 2011


On Thu, 2011-04-14 at 03:19 -0700, JGN wrote:
> Now I  would like to popup  a bubble on the desktop notification area
> and alert the user when a print is completed or a failure  has
> happened. Is there a hook in the CUPS Backend API to do this? Or is it
> that I will have to go by usual OS way?

Both GNOME 3 and system-config-printer do this.  The short answer is:
create a subscription so that you can watch for notifications about
events you are interested in.

If you are running on a system that has D-Bus available you can use the
"dbus" notifier in order to get notifications immediately; otherwise you
will need to poll.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20110414/8302fc13/attachment.bin>


More information about the cups mailing list