LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to stop the BEEP sound? (https://www.linuxquestions.org/questions/slackware-14/how-to-stop-the-beep-sound-164898/)

Smaugur [SWE] 04-01-2004 05:37 AM

How to stop the BEEP sound?
 
Example: When I press backspace in the shell in front of the prompt I hear this annoying beep! sound and I want to turn it of.

But I also want to be able to listen to MP3s if i want to.

So how do I do this?

:Pengy:

I have a laptop Compaq Armada 7800 with a pentium II processor and 96 mb ram with Slackware 9.0

OdieQ 04-01-2004 07:19 AM

Bash bell
 
On some soundcards, you can set the volume of the bell independantly, with the "speaker" setting in the mixer.

You can also disable the audible bell altogether by putting "set bell-style none" in your ~/.inputrc. If you still want to notified of bell events, set the bell style to "visible" instead. This will blink the screen instead of beeping (I am not saying this is any less irritating, though...).

Cheers,
Odie

IRIGHTI 04-01-2004 11:48 AM

i'm pretty sure it is a kernel config option that you just take out. Don't quote me on on that though. I think I took it out, when i recompiled because i don't have it anymore.

Toth 04-01-2004 04:34 PM

Quote:

Originally posted by IRIGHTI
i'm pretty sure it is a kernel config option that you just take out. Don't quote me on on that though. I think I took it out, when i recompiled because i don't have it anymore.
Only in 2.6.x IIRC.

guest 04-10-2004 01:16 PM

THANKS GOD
 
THANK U!!!

I really hate this beeep beeeppppp beeeepppp, it make me mad!!
And if i work some hours on vmware with linux and its beep and beep i realy want take my notebook and plonk it on the wall....

THANKS!!

Crummy 03-20-2009 12:31 AM

Quote:

Originally Posted by OdieQ (Post 851633)

You can also disable the audible bell altogether by putting "set bell-style none" in your ~/.inputrc.

How do I do that? I'm completely new to linux and have Fedora 10

Yalla-One 03-20-2009 05:00 AM

Quote:

Originally Posted by Crummy (Post 3481616)
How do I do that? I'm completely new to linux and have Fedora 10

If you want to set it for only your own user, you type
Code:

echo "set bell-style none" >$HOME/.inputrc
If you have multiple users, you can open /etc/inputrc in your favourite editor and search for the lines that say:
Code:

# Configure the system bell.  Options are none, visible, and audible.
#set bell-style none

Just remove the # in front of set bell-style none, and you have taken it away system-wide.

PS. Since this is a Slackware forum I posted the Slackware response, but this is pretty standard across distributions, so while I haven't been on a RedHat derivative for a while I assume it's still somewhat valid.

Alien_Hominid 03-20-2009 06:02 AM

lsmod
rmmod pcspkr (if exists)

add to blacklist if loaded on boot

Crummy 03-21-2009 09:18 PM

Where would I type in the code at? I'm sorry but I'm really new lol.

I did disable it though finally through the sound manager thing but I never had that happen on windows and never had a sound control that control that kind of beep so it took me a while to figure that out.

guanx 03-22-2009 07:44 AM

Quote:

Originally Posted by Crummy (Post 3483646)
Where would I type in the code at? I'm sorry but I'm really new lol.

I did disable it though finally through the sound manager thing but I never had that happen on windows and never had a sound control that control that kind of beep so it took me a while to figure that out.

There are two kinds of beeps, one from your sound card, which can be disabled using the mixer; the other from the speaker port on your mother board, which is controlled via the IO ports 0x42 and 0x43. For the latter one, you can blacklist the pcspkr module. However, it's blacklisted by default in Slackware (see "/etc/modprobe.d/blacklist").


All times are GMT -5. The time now is 01:29 PM.