04
May
09

Turn off console beep on Ubuntu 9.04

It used to be that you could edit /etc/modprobe.d/blacklist and add “blacklist pcspkr” to turn off the console beeps entirely on Ubuntu / Kubuntu.  As of 9.04, the module is now called “snd_pcsp”.

So, to turn off console (not X terminal, but tty) beeps, you can do one of the following:
1) (This is my preference)

echo blacklist snd_pcsp >> /etc/modprobe.d/blacklist.conf

2) (I’ve done this, but it doesn’t affect all software)

for i in 1 2 3 4 5 6
do
setterm -blength 0 > /dev/tty$i
done

3) (Only works per shell if ~/.inputrc is included)

echo set bell-style visible >> ~/.inputrc

Enjoy more-sane editing from ttyX in the future!


0 Responses to “Turn off console beep on Ubuntu 9.04”



  1. Leave a Comment

Leave a Reply


About Us

Complete networking solutions for business.
May 2009
M T W T F S S
« Mar   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031