99

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

sam
  • 2,806

6 Answers6

85

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
  • 36,264
  • 56
  • 94
  • 147
64

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
  • 741
38

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
  • 613
  • 1
  • 6
  • 7
14

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

Salinder
  • 179
3

Run this command in the terminal:

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

Either edit /etc/inputrc (system wide) or ~/.inputrc

and add the line:

set bell-style none

(it might just be commented out)

David
  • 2,799
  • 3
  • 24
  • 39