I have already found a solution for this and applied it upstream
(1.27.5, already in Grrovy).

The problem is that near midnight, for the log rotate cups-browsed is
stopped and restarted. Stopping cups-browsed makes the cups-browsed-
generated print queues getting removed and when re-starting cups-browsed
afterwards they are generated again. This causes the notifications.

My approach is to let cups-browsed not remove the queues on shut-down,
on re-start cups-browsed connects to these queues again (as I have
designed cups-browsed to cope with crashes) and so no queue-creation
happens.

Zdenek Dohnal from Red Hat suggests modifying gnome-settings-daemon to
identify queues coming from cups-browsed and not notifying then. See

https://github.com/OpenPrinting/cups-filters/issues/241

Marking as fixed as my approach has made it into Groovy already.

** Bug watch added: github.com/OpenPrinting/cups-filters/issues #241
   https://github.com/OpenPrinting/cups-filters/issues/241

** Changed in: cups (Ubuntu)
       Status: Triaged => Fix Released

** Package changed: cups (Ubuntu) => cups-filters (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1869981

Title:
  Printer notification every day at midnight

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1869981/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to