School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 306,728 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,535 people online right now. Registration is fast and FREE... Join Now!




Remove System Beep

 
Reply to this topicStart new topic

> Remove System Beep, how to remove the annoying system beep

Anarion
Group Icon



post 5 Nov, 2009 - 02:34 PM
Post #1


Some people (including myself) hate that nasty beep, when it starts to sound, I start to get a headache. Is there a way to remove it? Yes and it's quite easy. Just to the following:

(you can use gedit or any editor of your choice instead of vim)
1. if you want to disable the beep temporarily (until the next startup)
CODE
sudo rmmod pcspkr
Go and check, it is gone!!! biggrin.gif

2. if you want to disable it forever (until you enable it again)
CODE
sudo vim /etc/modprobe.d/blacklist
then add this line in the file:
CODE
blacklist pcspkr
now save the file and from the next reboot, you won't hear it again.

3. another way to disable it forever (until enabling it again)
CODE
sudo vim /etc/inputrc
now, look for the line where it says "set bell-style audible", change it to one of these:
CODE
set bell-style visible
#or
set bell-style none
save and reboot and biggrin.gif it is gone.

Hope this tutorial helped you get free of the annoying beep when you work with system. wink2.gif
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 11/20/09 02:24PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month