You are not logged in.
I can't seem to disable the system bell that is driving me bat$#!+ insane when I shutdown/reboot my laptop, please help!!!
Here's what I've tried so far...
# In /etc/rc.conf - doesn't work
MODULES=(!snd_pcsp !pcspkr)
# In ~/.xinitrc and /etc/X11/xinit/xinitrc - doesn't work
setterm -blength 0
xset -b off
xset b 0 0 0
# In /etc/inputrc - doesn't work
set bell-style none
# This turned the beep volume down from earsplitting to nearly tolerable but it's definitely not zero
Turned alsamixer "beep" to volume 0
Any other ideas? There must be a way that doesn't involve custom kernels or egads! switching to Ubuntu! If this is compiled into the kernel, how can I influence Arch kernel people to make the system bell optional?
I have an HP Pavillion DV7 laptop and I would unplug the speaker if I knew how to get to it. Please don't make me go to Ubuntu because of a beep (that wakes my household!) after 6 years!
Offline
Add this works for me:
MODULES=(!snd_pcsp !pcspkr)
Sorry I can't help.
Last edited by graysky (2010-12-22 00:01:26)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
What Desktop Environment/Window Manager are you using, if any?
Offline
are the modules "snd_pcsp" and "pcspkr" listed in lsmod output?
Offline
Try the following: put "blacklist pcspkr" and "blacklist snd_pcsp" lines to /etc/modprobe.d/modprobe.conf
Offline
Hello, thanks!
I'm using Gnome/Metacity
Modules are not loaded
[jamie@simula ~]$ lsmod | grep pcs
[jamie@simula ~]$
I'll try your suggestion now Kosmonavt.
Offline
That didn't work either Kosmonavt
Offline
Wondering if its not a bios thing rather than Arch problem?
Quick and dirty hack it too get an old pair of headphones and cut lead off, plug that in silence!
Mr Green
Offline
Do you have a "Beep" slider in alsamixer? Probably yes, in which case just mute that.
Offline
Since you are using Gnome, are you sure the bell you hear is not from gnome-terminal? It seems all the possible ways to disable the bell you are hearing have been exhausted. Since nothing else worked for you, gnome-terminal's bell would be the next thing to check.
Offline
Maybe you can disable it with gconf?
/apps/metacity/general/audible_bell
Offline
@Gusar - I do have a beep volume control in alsamixer, that didn't work
@cirkit - I've successfully disabled the bell in gnome-terminal and vim already. I doubt that it's the BIOS, but it's probably the only thing left to try. The problematic beep occurs only when gnome/X is shutting down and occurs whether gnome-terminal is open or not. It seems to happen between nautilus shutting down and xorg shutting down because all the icons etc or gone but the wallpaper image is still there, then it beeps and goes to black screen and services start shutting down.
@Mr Green - I like the way your mind works! I'll use your headphone cord hack until I find a real answer thanks!
Thank you all for you ideas!
Offline
Maybe it's gnome's system sound theme. The first thing I do when installing any gnome system is turn off all sound themes in volume control.
Offline
New motherboards these days often omit the annoying 'beep' speaker output pins (mine is this way). The good folks at gnome have probably noticed this and thought to themselves "The motherboard manufacturers are conspiring against us to thwart our attempts to pointlessly annoy people. We cannot let this continue. We will henceforth emulate the annoying 'beep' using the sound system."
Because of this, all attempts to shut down the pc speaker fail because gnome is not using the pc speaker. I'm not sure if this is actually the case, I only suspect this.
There might be a 'beep.wav' file somewhere on your system that gnome plays whenever they wish to annoy you. If you were to replace this file with a 'silence.wav' (do $ mv silence.wav beep.wav) then gnome may play this silent wave file instead.
Unfortunately, I don't know if this is actually the case, or where such a file would be located.
Good luck.
Offline
Do you have ifplugd installed and running? I know ifplugd makes a beep sound when you restart/halt. If so, disable this from your DAEMONS array in rc.conf with
!ifplugd
and see if the beep comes back. However, I am not 100% sure if you can disable the beep with ifplugd.
Offline
@Gusar - I do have a beep volume control in alsamixer, that didn't work
Did you actually mute it, or just set it to zero? I still have the beep when it's set to zero. You need to mute it, pressing 'm' in alsamixer.
Offline
If all else fails, you could take care of the problem at the source with a soldering iron
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline