Whenever I adjust the volume there's a popping sound to indicate when the volume is changing. I find it really annoying.
Is there any way to change/disable this behaviour?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
It's not really documented anywhere, but holding ALT while pressing whichever key is responsible for volume up/down/mute will change the volume setting without the pops.
These are all controlled by gnome-settings-daemon, and unfortunately while VOLUME_UP_KEY and VOLUME_DOWN_KEY are assignable, VOLUME_DOWN_QUIET_KEY and VOLUME_UP_QUIET_KEY are hardcoded to ALT+XF86AudioLowerVolume and ALT+XF86AudioRaiseVolume respectively, with no easy way to change them.
I've opened a question regarding the feasibility of making the QUIET keys assignable in a future release.
TL;DR: You can hold ALT while changing the volume to mute the pops, but you can't currently assign this action to the default keys
dconf-editor settings did not help on my system, so I actually replaced the "pop" audio sound file with a silent one, and then rebooted:
# mv /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga.backup # cp silent.ogg /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga # reboot now
You can create a silent Ogg Vorbis file in Audacity pretty easily.
Go to your Sound Settings (the Volume Icon in the top right corner and click on it, and then click on the Sound Settings option at the bottom of the list.)
From there click on the Sound Effects tab. There will be a sliding bar labeled Alert Volume. Either slide it all the way to the left or just check the Mute box beside the bar. That should do it.
I've found a solution which is actually more like a workaround:
In the "Keyboard" system settings, you have to change the keybindings of volume up, down and mute and add the "Alt" key to the existing, i.e. "Alt+Volume up" and so on.
I got the hint from the source file "shortcuts-list.h".
Using Gnome-shell DE with extension volume mixer has solved problem for me. But I had to enable boost volume option in extension config