Add a network printer on SUSE 15 with the KDE desktop

I was unable to use the System Settings in KDE Plasma 5.27 to add a network printer on a fresh install of openSUSE Leap 15.6 (SUSE Linux Enterprise 15). I got the “Failed to get a list of devices: ‘Forbidden’” error message.

This is how I resolved the issue:

sudo firewall-cmd –add-service=mdns
sudo firewall-cmd –add-service=mdns –permanent

Used YaST to add the printer: YaST Control Center → Printer → Add → Detect More

KDE System Settings → Printers should show the new printer.

I didn’t need to install the system-config-printer package.

SUSE 15 on my laptop failed to go to sleep or suspend

My ThinkPad laptop failed to go to sleep or suspend with a fresh install of openSUSE Leap 15.6 (SUSE Linux Enterprise 15). sudo dmesg and sudo journalctl -rb contained a generic error message:

Failed to put system to sleep. System resumed again: Input/output error

This is how I resolved the issue:

echo ‘add_dracutmodules+=” resume “‘ | sudo tee -a /etc/dracut.conf.d/resume.conf
sudo chmod a-x /usr/lib/systemd/systemd-hibernate-resume
sudo dracut –kver $(uname -r) –force

Rebooted and tested with sudo systemctl sleep and sudo systemctl suspend

I will file a bug against yast2 version 4.6.8 release 150600.1.1 on x86_64.

Solution based on: https://www.suse.com/support/kb/doc/?id=000020287