一、问题描述
Ubuntu22开机后正上方弹出“Printer addded(已添加打印)”等提示框。如下
二、问题分析
1、列出当前所有开机启动服务
service --status-all
ms@moshui:~$ service --status-all
[ - ] alsa-utils
[ - ] anacron
[ + ] apparmor
[ + ] apport
[ + ] avahi-daemon
[ + ] binfmt-support
[ - ] bluetooth
[ - ] console-setup.sh
[ + ] cron
[ - ] cryptdisks
[ - ] cryptdisks-early
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ + ] gdm3
[ - ] grub-common
[ - ] hwclock.sh
[ + ] irqbalance
[ - ] iscsid
[ + ] kerneloops
[ - ] keyboard-setup.sh
[ + ] kmod
[ - ] lvm2
[ - ] lvm2-lvmpolld
[ + ] multipath-tools
[ - ] nfs-common
[ + ] nfs-kernel-server
[ - ] open-iscsi
[ - ] open-vm-tools
[ + ] openvpn
[ - ] plymouth
[ + ] plymouth-log
[ + ] procps
[ - ] pulseaudio-enable-autospawn
[ + ] rpcbind
[ - ] rsync
[ - ] saned
[ - ] screen-cleanup
[ - ] speech-dispatcher
[ - ] spice-vdagent
[ + ] ssh
[ - ] sssd
[ + ] udev
[ + ] ufw
[ + ] unattended-upgrades
[ - ] uuidd
[ - ] whoopsie
[ - ] x11-common
ms@moshui:~$
2、CUPS(Common UNIX Printing System,通用Unix打印系统)
三、解决方案
1、关闭cups.service服务
sudo systemctl disable cups.service
2、关闭cups-browsed.service服务
sudo systemctl disable cups-browsed.service