Topic: Turning off system beeps
Hi,
first post. Here's how remove all bleeping system beeps. Should work on most versions.
First things first, remove the damn pc speaker completely:
echo 'blacklist pcspkr' | sudo tee -a /etc/modprobe.d/pcspkr.conf
sudo rmmod pcspkrThen, remove gtk apps beep:
echo "gtk-error-bell = 0 " >> ~/.gtkrc-2.0.mine then, the readline/bash beeps:
echo "set bell-style none" >> ~/.inputrceven better, put the above line into /etc/inputrc
remove all console beeps in X:
echo "xset b off" >> ~/.config/openbox/autostart.shremove all console beeps from system console:
echo "setterm -blength 0" >> ~/.profile
echo "setterm -bfreq 0" >> ~/.profile or /etc/profile.
then, gdm:
sudo vi /etc/gdm/gdm.conf[greeter]
SoundOnLogin=falseor run
sudo gdmsetupand untick the sound there.
finally, if you have this in under /etc/default/grub, (carefuly) comment it out like so:
#GRUB_INIT_TUNE="480 440 1"I've still got this loading at boot time:
[ 6.763225] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11but I don't think it's doing anything that bleeps me off. yet.
Statler; great release guys. Loving my desktop again.
edit: heading fixed, global inputrc, path fix
edit: found more beeps. going mad now.
if vim beeps add this to ~/.vimrc
set vb t_vb=if your man pages and other things beep:
amixer set 'PC Speaker' 0% mute
amixer set 'PC Beep' 0% muteesentially, the pcskr blacklist and the amixer muting should end all beeps, so do those first.
Last edited by framling (2010-07-15 20:03:53)
