[cc lang=”bash” escaped=”true” width=”600″]
setterm -blength 0; # turns off nerve wrecking “BELL”
echo ‘setterm -blength 0; # turns off nerve wrecking “BELL”‘ >> /etc/bash.bashrc; # make the changes permanent/survive boot and for all users
[/cc]
this does not work for X11 terminals such as gnome’s…
Visual Bell in gnome-terminal
By default, gnome-terminal will beep the system speaker. I want a visual indicator instead. This makes it flash the menu bar, which is not ideal but is much better than the audible beep.
- Be sure gnome-terminal has the bell enabled: Edit > Profile Preferences > Terminal Bell must be checked. Pressing backspace at a prompt should cause an annoying audible beep.
- Turn on window flashing: In System > Preferences > Sound, Change the “Visual alert” setting to “Flash window.”
- Disable the audible bell. In the same panel, uncheck the “Play alert sound” check box.
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!