I have an install script that I run after fresh installations to install apps, mount network drives and make changes to several configurations to my liking. One of them is disabling the event sounds.
Up until now I have used this command to achieve that:
gsettings set org.gnome.desktop.sound event-sounds false
However, with 18.04 this command doesn't work anymore. Anyone know which schema and key to use now?
It is not possible to disable events using gsettings, instead it's saved in pulseaudio's TDB files.
Using tdbtools (
apt install tdb-tools
), you can update the setting in the database:This updates the value for the key "sink-input-by-media-role:event" to mute the system sounds (101 → 111). In my case, these are the values in both states:
Your values are most probably different, but the value needed to replace remains the same.
Go to the activities panel and type in sound. Click on it and choose sound effects. Click OFF for alert volume (currently denoted as ON).