You are not logged in.
Does anybody know how I can disable the system beep?
I came across a post that showed how to disable it for the current session, but I was wondering if there is a way to disable it permanently?
It beeps every time I click on 'Logout', and it beeps when I auto-scroll too far in the terminal.
This can be really obnoxious when it is late at night..
Any help with this would be awesome!
Thanks.
The command I found to temporarily disable it:
sudo xset b off
sudo xset b 0 0 0
Last edited by p0wder (2018-04-04 03:07:50)
Offline
What I usually do is blacklisting the kernel modules for the PC speaker.
In a file below /etc/modprobe.d/ add something like:
blacklist pcspkr
blacklist snd_pcsp
I'm not sure if this is the right or best way to do it.
I'm not even completely sure it will work, but I think it works for me (made this configuration many years ago and haven't touched it since).
Offline
For X11: xset -b
setterm -blength 0
Offline
I finally got it figured out !
Thank you for the reply guys! I will mark this post as solved and post the solution for any one else that has the same issue.
The blacklisting method suggested by cro didn't work for me..
And the commands suggested by andreas_baumann worked, but the beeps were back after I rebooted..
What I did to get the beep to go away for good was -
Drop to console (Ctl+Alt+F2)
Log in as 'root'
Run:
echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf
After reboot, no more beeps !!
Offline