96

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

sam
  • 2,766
  • 5
  • 15
  • 25
  • Try this: https://askubuntu.com/questions/26068/how-do-you-mute-from-the-command-line – valiano May 01 '18 at 14:37
  • 7
    Got to `System-settings->Sound->Sound Effects->Alert volume` and turn the switch to OFF. – Håkon Hægland May 01 '18 at 17:26
  • Try this [Turn off Motherboard/PC Speaker “beep” in Ubuntu 16.04 regression](https://askubuntu.com/questions/829258/turn-off-motherboard-pc-speaker-beep-in-ubuntu-16-04-regression) – WinEunuuchs2Unix Jul 08 '18 at 02:29
  • I have a related problem: I can't stand Ubuntu 18's terminal bell, but following this advice, I realize the sound has two components: a) the one selected in "Sound Effect", and, b) a deep, practically booming reverb of the selection. I want to keep the first sound, but kill the reverb. Not only is it jarring, but in the lab where I work it is annoying to others, because it really carries. (Should I make this it's own question?) – Dan H Oct 09 '19 at 18:42

5 Answers5

84

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

David Foerster
  • 35,754
  • 55
  • 92
  • 145
Raju Ghosh
  • 964
  • 8
  • 4
62

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

cescgie
  • 721
  • 5
  • 4
33

Add the following line to the bottom of your ~/.bashrc file:

bind 'set bell-style none'

New terminals will have no error sound.

Nick Hope
  • 543
  • 1
  • 5
  • 7
14

For turn off terminal sound you need go to terminal, then go to tab edit > preferences and uncheck terminal bell.

Salinder
  • 179
  • 1
  • 4
0

Run this command in the terminal:

dconf write /org/gnome/desktop/sound/event-sounds "false"
scottkosty
  • 321
  • 2
  • 4