Disable Internal Speaker Beep on FreeBSD
  Jul 28, 2009

FreeBSD ships with the internal speaker enabled, which can be very annoying when computing in public! I chose to disable the beep by disabling it at the kernel level with sysctl, instead of doing one-off hacks for each application that uses the system bell.

  1. # sysctl hw.syscons.bell=0
  2. hw.syscons.bell: 1 -> 0

Now check to see if the beep is still there. If not, do the following to make the change permenant. If the sound is still there, skip to the next heading to see some other methods of disabling the internal speaker.

  1. # echo 'hw.syscons.bell=0' >> /etc/sysctl.conf

Other Methods

Xorg

xset -b

Console

kbdcontrol -b off

csh

set nobeep

bash

set bell-style none




Post a New Comment

Name

Message

Security
Code

        (case insensitive & space between words)