29

For years, nay, decades (literally – two!), I have visual bell enabled in my terminals whenever possible, be it a humble XTerm or Gnome Terminal. Recently, after I switched from Unity to Gnome 3, I had an audible bell (over stereo speakers) in Gnome Terminal.

My searches up to now always seem to lead into the wrong direction: How to enable the audible bell or how to disable the whole thing completely. That’s not my intention. When at the prompt, when I press backspace too often or just before auto-completion, I want the terminal window to flicker, and I do not want to hear anything. Where is this setting hidden?

MPi
  • 2,151

2 Answers2

44

Disable audible bell and enable visual bell with:

gsettings set org.gnome.desktop.wm.preferences audible-bell false
gsettings set org.gnome.desktop.wm.preferences visual-bell true

and change the type of the visual bell if you don't need the fullscreen flash:

gsettings set org.gnome.desktop.wm.preferences visual-bell-type frame-flash

Options for visual-bell-type:

  • fullscreen-flash – causes a fullscreen white-black flash
  • frame-flash – causes the titlebar of the application which sent the bell signal to flash
A.B.
  • 90,397
1

Go to Preferences, Profiles, click on the active profile, click the Text tab, and uncheck "Terminal bell"

  • The GUI is misleading if you have the default profile which is called "unnamed". You must not click on "Profile" You must look under it and click on "unnamed". Please include this in your answer. – James Bowery Aug 07 '23 at 21:44