Turn off error sound on Ubuntu 18.04

How do I turn off the Ubuntu error sound (especially on the terminal) in Ubuntu 18.04?


Solution 1:

In order to turn off Ubuntu error sound in Ubuntu 18.04 you need to go Setting > Sound > Sound Effects > Alert Volume > Off.

Sound settings dialogue

Solution 2:

If you just want to turn off on terminal in Ubuntu 18.04, open Terminal > Edit > Preference then choose your terminal profile and uncheck Terminal Bell

enter image description here