Hi,
I made a fatal mistake of screwing up my MX-Linux 23.1 KDE install by attempting to install systemctl and forgot that this is a systemd command!
Why was I trying to do this? I was attempting to stop autodiscovery of printer(s) as what happens with most if not all GNU/Linux distributions these days is that the Linux kernel recognises what printer is attached and in the driver description, names it as a 'driverless printer' - this means it is not going to print without the Linux driver for any given brand of printer, from the manufacturer's support pages. I found an old thread about how to disable autodiscovery, starting off by editing avahi.conf but then it goes on to state about systemctrl which is a systemd element. So how do I stop this in MX-Linux 23.1 KDE which uses SysVinit?
How to remove autodiscovery of printers in KDE 23.1?
- swarfendor437
- Posts: 30
- Joined: Fri Sep 16, 2022 5:23 pm
Re: How to remove autodiscovery of printers in KDE 23.1?
On sysvinit one would stop the auto-discovery service like this:swarfendor437 wrote: Mon Dec 18, 2023 4:21 pm Hi,
I made a fatal mistake of screwing up my MX-Linux 23.1 KDE install by attempting to install systemctl and forgot that this is a systemd command!
Why was I trying to do this? I was attempting to stop autodiscovery of printer(s) as what happens with most if not all GNU/Linux distributions these days is that the Linux kernel recognises what printer is attached and in the driver description, names it as a 'driverless printer' - this means it is not going to print without the Linux driver for any given brand of printer, from the manufacturer's support pages. I found an old thread about how to disable autodiscovery, starting off by editing avahi.conf but then it goes on to state about systemctrl which is a systemd element. So how do I stop this in MX-Linux 23.1 KDE which uses SysVinit?
Code: Select all
sudo service avahi-daemon stop
Code: Select all
sudo update-rc.d avahi-daemon remove
Re: How to remove autodiscovery of printers in KDE 23.1?
Use the new MX service manager to first stop the ahavi daemon then to disable it.
I usually set up my network connected printers using the IPP (first choice) or DNSSD protocol.
As a FYI, digging deeper into the Windows stack, their default method for connecting to networked connected printers is IPP.
I usually set up my network connected printers using the IPP (first choice) or DNSSD protocol.
As a FYI, digging deeper into the Windows stack, their default method for connecting to networked connected printers is IPP.
Mike P
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Re: How to remove autodiscovery of printers in KDE 23.1?
In cat /etc/cups/cups-browsed.conf
HTH l0dr3
or: pkill / disable 'cups-browsed' service overall ?# All configuration options described here can also be supplied on the
# command line of cups-browsed via the "-o" option. In case of
# contradicting settings the setting defined in the configuration file
# will get used.
# Unknown directives are ignored, also unknown values.
:
# Which protocols will we use to discover printers on the network?
# Can use DNSSD and/or CUPS and/or LDAP, or 'none' for neither.
# BrowseRemoteProtocols dnssd cups
BrowseRemoteProtocols none
:
HTH l0dr3