@CarlosRenĂȘ: As described above, there exists a patch for gtk. I described this in my answer on askubuntu: https://askubuntu.com/a/1544292 . In short:
Create the patch print_dialog_without_avahi_discovered_printers.patch : --- a/modules/printbackends/cups/gtkprintbackendcups.c +++ b/modules/printbackends/cups/gtkprintbackendcups.c @@ -4008,7 +4008,7 @@ g_source_set_name_by_id (cups_backend->list_printers_poll, "[gtk+] cups_request_printer_list"); } - avahi_request_printer_list (cups_backend); + // Do NOT add random network printers! avahi_request_printer_list (cups_backend); } } And reinstall gtk: sudo apt build-dep libgtk-3-dev apt source libgtk-3-dev cd $(find gtk* -maxdepth 0 -type d) git apply --reject --whitespace=fix ../print_dialog_without_avahi_discovered_printers.patch debuild -b -us -uc --no-pre-clean cd .. sudo apt install --reinstall ./libgtk-3-0_*.deb # do not update (dist-upgrade) # sudo apt-mark hold libgtk-3-0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1753509 Title: avahi-daemon adds/installs every printer on network To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1753509/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs