Stop the System Beep
From Knowledge76
For anyone with a laptop who works in a library or other quiet area, system beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing.
The GUI Way
In Hardy and Intrepid, you can open System -> Preferences -> Sound then go to the System Beep tab and uncheck "Enable system beep".
The Command Line Way
To shut them off: open an xterm or terminal, and enter the two lines
xset b off b 0 0 0
Hope this helps.
There's also another way:
(as root)
rmmod pcspkr
This removes the (annoying) pc-speaker driver. To load it back, just type:
(as root)
modprobe pcspkr