In Ubuntu 14.10 (Utopic), there are two packages that can be involved in
gnome printer norifications: gnome-settings-daemon and unity-settings-
daemon. The latter package seems to be a fork of the former, for Unity
use I suppose.

These two packages come with a printer notification plugin. The one of
gnome-settings-daemon is /usr/lib/gnome-settings-daemon/gsd-printer and
the other is /usr/lib/unity-settings-daemon/usd-printer.

I found that if the gnome-flashback session (a.ka. "Gnome Classic") is
used, the printer notification plugin involved is usd-printer, from the
unity-settings-daemon package. I guess that gsd-printer is used in a
Gnome Shell session (I don't use it so I can test my guessing).

So, to remove the connecting-to-printer false error message, I think the
safest approach is to patch both packages, just by adding the lines:

 if (g_str_has_prefix (reason, "connecting-to-device"))
         return TRUE;

to the reason_is_blacklisted() static function in gsd-print-
notifications-manager.c.

A patch is attached for the gnome-settings-daemon package and I'll also
fill a bug report with a patch for the unity-settings-daemon package.


** Patch added: "suppress-printer-connecting-to-device-notifification.patch"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1202198/+attachment/4329475/+files/suppress-printer-connecting-to-device-notifification.patch

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1202198

Title:
  gnome-settings daemon notifies as error an info message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1202198/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to