How do I turn off the Ubuntu error sound (especially on the terminal) in Ubuntu 18.04?
Asked
Active
Viewed 6.8k times
96
-
Try this: https://askubuntu.com/questions/26068/how-do-you-mute-from-the-command-line – valiano May 01 '18 at 14:37
-
7Got 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 Answers
84
In order to turn off Ubuntu error sound in Ubuntu 18.04 you need to go Setting > Sound > Sound Effects > Alert Volume > Off.
David Foerster
- 35,754
- 55
- 92
- 145
Raju Ghosh
- 964
- 8
- 4
-
10
-
2This alert control seems to not exist on Ubuntu 19.10. The solution given by [Nick Hope](https://askubuntu.com/a/1091357/1035404) does work, though – Tiago Carreira Jan 18 '20 at 13:09
-
1YES! This option mutes all of the alert sounds I constantly have whenever I'm holding down `Backspace` to remove a few characters in the text input field. Finally, no more constant alert sound effects in my headphones. – tom_mai78101 Feb 01 '20 at 21:39
-
-
2Ubuntu 20 has removed this option :| This is really annoying in the text editor. – aderchox Jul 18 '20 at 16:17
-
@aderchox check Nick's answer https://askubuntu.com/a/1091357/757695 – Mohammad Kholghi Jan 06 '23 at 21:21
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
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
-
2
-
1@aderchox you can add this to your .zshrc `unsetopt BEEP` from: https://blog.vghaisas.com/zsh-beep-sound/ – BlueBeret Nov 26 '22 at 16:22
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

