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:

Brownies Recipe

This is a recipe post. For an event I needed to make brownies for 100 people, so this time I decided to write down what I was doing, so that they would be sort-of-consistent. I even weighed things.

via [bobulate] June 24, 2025

Why is your open source project still hosted on GitHub?

Perhaps the younger generation don't know anything about the past "evils" of Microsoft and naively believe that Microsoft is now the good friend to open source, but the truth is that all Microsoft acquisitions of open source projects is a busi…

via unixdigest.com May 22, 2025

Steve Ballmer was an underrated CEO

There's a common narrative that Microsoft was moribund under Steve Ballmer and then later saved by the miraculous leadership of Satya Nadella. This is the dominant narrative in every online discussion about the topic I've seen and it's a commo…

via danluu.com October 28, 2024

Generated by openring