|
A Solution for Disabling the Annoying PC Beep (Ubuntu)
When in a virtual tty, Ubuntu has an extremely annoying audible beep alert to notify the user that he is trying to do something that can't be done. Say for instance, hitting the backspace key at the command prompt. The cursor can not back up from there, so the system issues out a loud obnoxious BEEP in response. I am in a virtual tty often, and have found myself on a quest to eradicate that annoying BEEP from my system, if it is the last thing I do. After trying several modprobe, and other solutions, that did not work, I have found a solution that does.
alsamixer has a setting for 'PC Beep' that can be muted, silencing all audible system complaints from a virtual tty.
It would be a pain to do this every time, so...
amixer is a command line interface to alsamixer. By placing the following command in my .bashrc file, I have solved my problem.
amixer set 'PC Beep' disable
Hope that helps someone else.
|