Sunday, June 10, 2007

Kill the PC Speaker

A quick tip for today: How to get rid of the obnoxious pc speaker sounds that are turned on by default in Ubuntu. First we're going to disable the pc speaker kernel module for the running session, then we'll blacklist the module so it doesn't reactivate itself in future sessions. The two commands are as follows:

sudo modprobe -r pcspkr
sudo su -c 'echo blacklist pcspkr >> /etc/modprobe.d/blacklist'

No comments: