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:

Richard Stallman's political discourse on sex

Richard Stallman, the founder of the Free Software Foundation, has been subject to numerous allegations of misconduct. He stepped down in 2019, and following his re-instatement in 2021, a famous open letter was published in which numerous organizations and i…

via Drew DeVault's blog November 25, 2023

Upgrading to FreeBSD 14 - how to fix a broken BIOS bootcode

A lot of people running ZFS zroot have managed to break their FreeBSD systems upgrading from 13.2 to the new 14.0 release because of a broken BIOS bootcode. In this tutorial I'll show you how you can fix that without having to reinstall.

via unixsheikh.com November 22, 2023

C++ Guidelines

C++ is definitely a language that has Lots of Ways to do It – kind of like Perl’s TIMTOWTSAC. A consequence is that when writing code, you need to think about which way to do things. When context-switching between projects, employers, or what-have-you, yo…

via [bobulate] November 21, 2023

Generated by openring