It is very annoying to hear loud beeps at home especially at night or when listening to music. To turn off the system bell just follow a couple of steps below and enjoy pure silence.
First step - turn off the system bell in console
To turn off the console bell edit /etc/inputrc configuration file and uncomment line:
Second step - turn off the system bell in Xorg
To turn off the system bell in Xorg edit ~/.bashrc file and append code:
To check bell settings in Xorg execute command:
Third step
Reboot system so the changes take effect.
Alternative solution
This solution did not worked for me.
Blacklist pcspkr module:
Generate a list of module dependencies:
Update an initramfs image:
Reboot system.
https://blog.sleeplessbeastie.eu/2012/12/28/debian-how-to-turn-off-the-system-bell/