disable console beep

ororo

New Member

Reaction score: 1
Messages: 11

Hello,
I am new to FreeBSD.
One of the first annoying problems I have found is the "console beep". I have found online several ways to disable it, but they seem not to work for me:

Code:
kbdcontrol -b off
doesn't do anything,

Code:
keybell="off"
(inside rc.conf) doesn't do anything,

Code:
sysctl hw.syscons.bell=0
finally this works! However when I reboot the laptop, the beep is again on. What should I do to make this line to be executed at startup?

Thank you all.
 

angeryman

New Member


Messages: 4

I tried your method, it couldn't work in my computer. 12.1-RELEASE
I found the the method from manual:

sysctl kern.vt.enable_bell=0

echo kern.vt.enable_bell=0 >> /boot/loader.conf
or

echo kern.vt.enable_bell=0 >> /etc/sysctl.conf
 

mjollnir

Daemon

Reaction score: 750
Messages: 1,197

Then it's what ale wrote and you can also put that into /boot/loader.conf then it's active during boot.
 
Top