How to turn off the annoying speaker beep on Ubuntu

Reading Time: < 1 minute

There is a simple and easy way to make sure the speaker of your pc will stop beeping everytime you issue a wrong command.
Try

sudo lsmod | grep pcspkr

If you can see

pcspkr

Turn it off

Reading Time: < 1 minute

There is a simple and easy way to make sure the speaker of your pc will stop beeping everytime you issue a wrong command.
Try

sudo lsmod | grep pcspkr

If you can see

pcspkr

Turn it off

sudo rmmod pcspkr

Don’t forget to make the change permanent

sudo echo "blacklist pcspkr" > /etc/modprobe.d/blacklist-pcspkr

Job done
 

By Marc Olivier Meunier

Marc has spent the past few years putting oil on the fire of growth companies. He leads by example and puts a lot of emphasis on inclusion, constantly working to create a safe environment. A warm leader with a passion for memorable experiences and innovation.
Marc is available for contracting as a fractional Head of Customer Experience.
Find Marc on Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *