Disable "printer added" and "printer removed' notifications

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
chris_77
Level 1
Level 1
Posts: 1
Joined: Fri Dec 23, 2016 7:52 am

Disable "printer added" and "printer removed' notifications

Post by chris_77 »

Hi,

Some automatically added printers tend to be unstable and are frequently removed then re-added. Is there a way to disable the "printer added" and "printer removed" notifications (I want to keep other notifications)?
Cosmo.
Level 23
Level 23
Posts: 18714
Joined: Sat Dec 06, 2014 7:34 am

Re: Disable "printer added" and "printer removed' notifications

Post by Cosmo. »

Most likely not possible, but:

What is your version of Mint and what is the desktop environment? If you don't know open a terminal and enter:

Code: Select all

inxi -Sz
Paste the output here.
vilmos
Level 1
Level 1
Posts: 16
Joined: Mon Jan 06, 2014 6:48 am

Re: Disable "printer added" and "printer removed' notifications

Post by vilmos »

Hi,
I know that this is an old thread but I am also interested in disabling this notification. The output of the command is

Code: Select all

System:
  Kernel: 5.4.0-121-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7 
  Distro: Linux Mint 20.3 Una 
Cosmo.
Level 23
Level 23
Posts: 18714
Joined: Sat Dec 06, 2014 7:34 am

Re: Disable "printer added" and "printer removed' notifications

Post by Cosmo. »

I did not ask to get an answer 6 years later.
vilmos
Level 1
Level 1
Posts: 16
Joined: Mon Jan 06, 2014 6:48 am

Re: Disable "printer added" and "printer removed' notifications

Post by vilmos »

I can relate with that, but as you can see I am not the original poster. Do you want me to open a separate question for the same topic? Thank you in advance.
Cosmo. wrote:
Thu Jun 23, 2022 3:19 am
I did not ask to get an answer 6 years later.
User avatar
antikythera
Level 13
Level 13
Posts: 4507
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Disable "printer added" and "printer removed' notifications

Post by antikythera »

If the printer is on the network (wired or wireless) do this:

Code: Select all

sudo systemctl disable avahi-daemon.socket
sudo systemctl disable avahi-daemon.service
sudo systemctl mask avahi-daemon.socket
sudo systemctl mask avahi-daemon.service
Afterwards, reboot. Just to be clear, unless you have already installed and configured the printer manually by other means, it will not be detected again. In that situation you'd need to enter the IP address for the printer to install it for the first time after doing this.
Last edited by antikythera on Thu Jun 23, 2022 5:04 am, edited 2 times in total.
LMDE5 | Gigabyte GA-AM1M-S2H: Click for full specs...
LMDE5 | MSI A320M-A PRO MAX: Click for full specs...
vilmos
Level 1
Level 1
Posts: 16
Joined: Mon Jan 06, 2014 6:48 am

Re: Disable "printer added" and "printer removed' notifications

Post by vilmos »

Thanks!
I think there's a typo in your code. Should be instead

Code: Select all

sudo systemctl disable avahi-daemon.socket
sudo systemctl disable avahi-daemon.service
sudo systemctl mask avahi-daemon.socket
sudo systemctl mask avahi-daemon.service
antikythera wrote:
Thu Jun 23, 2022 4:11 am
If the printer is on the network (wired or wireless) do this:

Code: Select all

sudo sysctemctl disable avahi-daemon.socket
sudo sysctemctl disable avahi-daemon.service
sudo sysctemctl mask avahi-daemon.socket
sudo sysctemctl mask avahi-daemon.service
Afterwards, reboot. Just to be clear, unless you have already installed and configured the printer manually by other means, it will not be detected again. In that situation you'd need to enter the IP address for the printer to install it for the first time after doing this.
User avatar
antikythera
Level 13
Level 13
Posts: 4507
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Disable "printer added" and "printer removed' notifications

Post by antikythera »

yeah good spot on the typo but you got the gist
LMDE5 | Gigabyte GA-AM1M-S2H: Click for full specs...
LMDE5 | MSI A320M-A PRO MAX: Click for full specs...
Post Reply

Return to “Beginner Questions”