URL: http://www.tipstrs.com/tip/991/Turn-off-the-system-beep-in-Ubuntu

I have a Thinkpad T60p which is working really well for me. On it I've run various flavors of Ubuntu and as of a couple of weeks ago I put on Ubuntu 8.10 which has been working very well too except that I didn't get any options in the Preferences menu to switch off the damn loud system beep. The beep comes through the speakers and at a much much louder volume than any other sound or music.

I tried changing thins in BIOS and I tried installing various packages hoping one of them will give me the options. Finally I've found out how to disable it:


$ sudo modprobe -r pcspkr

This tip page showed me how to put it into /etc so it's applied all the time. Thanks Andy!

Comments

Anonymous

I had this problem too with 8.10 on a desktop machine. I finally found the option under System > Preferences > Sound > Sounds. The options there seem a little less than intuitive to me. In my case I want a visual alert instead of a beep, so "Play alerts and sound effects" must be on but "Play alert sound" must be off.

ychaouche

I used to put this line on my .bashrc

# shut up!
xset b 0

Your email will never ever be published.

Previous:
domstripper - A lxml.html test project November 20, 2008 Python
Next:
bool is instance of int in Python December 5, 2008 Python
Related by category:
set -ex - The most useful bash trick of the year August 31, 2014 Linux
brotli_static in Nginx November 8, 2024 Linux
Be very careful with your add_header in Nginx! You might make your site insecure February 11, 2018 Linux
Linux tip: du --max-depth=1 September 27, 2007 Linux
Related by keyword:
uwsgi weirdness with --http September 19, 2019 Python, Linux
Upgrading to Ubuntu Lucid Lynx and downgrading to Python2.4 and Python2.5 May 11, 2010 Linux
Why Linux is better March 1, 2006 Linux
Ubuntu Cola or Ubuntu Linux March 6, 2010 Linux