Finally got rid of the system beep

22 November 2008   2 comments   Linux

Mind that age!

This blog post is 12 years old! Most likely, its content is outdated. Especially if it's technical.

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!



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.


I used to put this line on my .bashrc

# shut up!
xset b 0

Your email will never ever be published

Related posts

domstripper - A lxml.html test project 20 November 2008
bool is instance of int in Python 05 December 2008
Related by Keyword:
uwsgi weirdness with --http 19 September 2019
Upgrading to Ubuntu Lucid Lynx and downgrading to Python2.4 and Python2.5 11 May 2010
Ubuntu Cola or Ubuntu Linux 06 March 2010
Why Linux is better 01 March 2006