Inicial > Diversos > Turning the Linux beep off once and for all!

Turning the Linux beep off once and for all!

beepDepending on the Linux distribution you use, the beep sound can drive you crazy. There are many ways to turn off the beep but most of them just turn it off in some specific places, like the console. In order to turn off the beep once and for all (in all applications) you need to prevent its module from loading on the boot process.

Before you do that, you can check if the beep’s module is really loaded by typing:

lsmod | grep pcspkr

Note that pcspkr stands for “PC Speaker” :P. Now, open the file /etc/modprobe.d/blacklist.conf with your favorite text editor and add the following line at the end of it:

blacklist pcspkr

All done. Next time your system loads, it won’t load the beep’s module and you’ll be finally free 😀

PS: In some distributions, the file name can be just “blacklist”.

PS_2: If you saw some mistake in any part of my post or in my English, please, send me an email or a comment correcting me! I’m Brazilian, therefore I’m not an English native speaker. I would really appreciate being corrected! Thank you in advance! :)

Anúncios
Categorias:Diversos
  1. Nenhum comentário ainda.
  1. No trackbacks yet.

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s

%d blogueiros gostam disto: