Disabling sound on KDE/Qt notifications / alerts with ALSA

I am using ALSA for my system sound and I am trying to keep away from PulseAudio and PipeWire things. I do not like them that. I know they provide a way to disable the system sound, just open PavuControl and mute the “System Sounds” channel and done.

For ALSA I did not manage to find such a simple way to do it. I also did not find a way to disable it in KDE or Qt configuration files (or I did not search hard enough).

In the end, I resulted in a brute force approach and deleted files and made sure they will not be installed again. So how to do that? I use Artix linux and it is simple.

Open /etc/pacman.conf and add/edit it like this:

NoExtract   = usr/share/sounds/Oxygen*

The sounds are provided by package oxygen-sounds and it updates frequently and is a dependency with a VERSION for other KDE packages. This means I cannot ignore it or mark it as installed since other packages will request it at the specified version (greets KDE Gear).

By deleting the files provided by this package from /usr/share/sounds the sound will be gone and I will have my silence. Now I have to ensure that the package is being installed and updated properly by pacman and the sound files are not provided/extracted by it. This can be achieved by the NoExtract option in pacman.conf as said before.

PS: This is note for myself if I need it again (needed it twice already and always had to do a full research).

Articles from blogs I follow:

It goes to 6!

FreeBSD ports update today: delete mode 100644 x11/plasma5-plasma/ create mode 100644 x11/plasma6-plasma/

via [bobulate] February 3, 2025

Hypocrisy and politics in free and open source software projects

via unixdigest.com January 31, 2025

Signing Android Apps Using a YubiKey (on NixOS)

In my spare time, I currently develop two Android apps using Flutter: AniTrack, a simple anime and manga tracker based on my own needs, and Moxxy, a modern XMPP client. While I don't provide release builds for AniTrack, I do for Moxxy. Those are signed u…

via PapaTutuWawa's Blog July 24, 2023

Generated by openring