Using the command line, I want to mute the sound effects in Ubuntu 14.04.
The GUI way of doing so is going to System Settings
(unity-control-center), then going to the Sound Effects
tab:
The answer to this question outlines a way to do so using gconf
(sudo su gdm -c "gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false"
), but that no longer works in newer versions of Ubuntu.
I also looked for a clue at the output of pacmd info
, but couldn't find anything useful either.
There is what seems to be a relevent setting that can be changed in dconf
(org/gnome/desktop/sound/event-sounds
), but it is set to false
and changes nothing. There are some Ubuntu settings, especially for Unity, that don't have visible dconf
settings. Still, they can be seen when changed with a GUI while running dconf watch /
. But it shows nothing when muting/un-muting that setting.
I know I could just remove all the sound effects, but there must be a proper way of doing this...
dconf write /org/gnome/desktop/sound/event-sounds false
disabled events sounds. It seems to me as that gsetting key is not binded to Mute (variable). If you want to use CLI, keep Mute unchecked then useevent-sounds
key. to use GUI keepevent-sounds
true
and use Mute check box.dconf write
(orgsettings set
) to changeevent-sounds
does nothing, whether or not the Mute button in the GUI is checked.gdm.d
directory in/etc/dconf/db
, onlyibus.d
, and nothing involving locks.