Page 1 of 1

Remove the annoying system-beep.

Posted: Tue Sep 20, 2011 9:26 am
by fransje
Dear all,

I was trying to remove the over-annoying system beep I got using LMDE-Xfce edition.
I tried a few things which didn't work, including adding

Code: Select all

blacklist pcspkr
to the /etc/modprobe.d/blacklist file, but to no avail.

I also tried muting the beep in alsamixer but couldn't because pulseaudio seem to have overwritten my alsamixer configuration. It's actually so bad that I can't even choose if I want to play music to my headphones without having also my laptop speakers enabled. So if I mute the speakers, I just loose all the sound.. Just great. So now, if I unplug my headphones, tadaa, the sound will blast out my speakers. Just what I don't want.
Under Archlinux, I used to be able to choose through which outputs I would re-direct my sound, but not anymore... :-( Anyways.. Wandering of my original topic here...

I finally did find that by running xset b off I could temporarily get rid of the system beep. Until the next reboot that is.
Well great! I thought. A leap in the right direction! I'll just add it to my .xinit script, and I'm in business, problem solved! Well... Wrong! Thinking again..
Gdm3 doesn't read .xinit. Neither does it read .Xsession. And no matter which script I would run, I would always keep that beep at logon anyways. :x
So I tried to add xset b off to an init.d script, but that didn't work either, because it needs an active terminal with a screen to connect to, and that is loaded (I think?) by gdm3... Adding it to the init.d gdm3 script didn't help either, for the same reasons.

Well, I finally find another tip on this forum, namely installing gnome-alsamixer and mute the beep there. It seems to have worked for the time being, but I still have to reboot to find out whether it will also have muted the logon screen beep. (I soo do hope it did..) And it also solved the headphones/speakers issue. :-D

Anyways, all this semi-ranting for a few simple philosophical questions...
  1. Why is it so difficult to remove a system beep I didn't want in the first place?
  2. Where did my Linux-user freedom go to? If I wanted somebody else to decide I needed a system beep, and that my sound should come out of my speakers when there are no headphones plugged in, I would have stayed with Windows...
  3. Why do I have to install yet another program to solve that problem, while it should be a user-transparent thing to do?
  4. Is nobody else concerned that the program I had to install was gnome-related, meaning that if I hadn't already had a few gnome programs installed, it would probably have come with some dependencies I didn't want in the first place?
Mmm.. Well perhaps this is a bit of a complain from a luxury standpoint.. If I wanted a dependency-lean system, I could always set it up myself from scratch and avoid gnome/xfce/things-I-didn't-want but I felt a bit lazy this time, and I really like the new grey mint-theme...

So please don't take this post as an attack, but as an invitation to experience exchanges and constructive thoughts.

Kind regards,

Francois.

Re: Remove the annoying system-beep.

Posted: Tue Sep 20, 2011 11:40 am
by ThistleWeb
What triggers the beep? There are motherboard sounds, that will come from a little speaker on the motherboard itself, not through the OS to your speakers or headphones. As far as I know, those beeps are for serious or hardware errors, like a POST error. I don't think you can disable those or even redirect them. Your only option is to disable the motherboard speaker, which is not advised. You should only hear those beeps if there's something badly needing attention, in which case the longer term solution would be find out what hardware is causing it and replace it.

If those are not the beeps you mean, then don't follow any of the above advice.

Re: Remove the annoying system-beep.

Posted: Tue Sep 20, 2011 11:56 am
by fransje
Dear ThistleWeb,

Thank you for reply!
No, definitely no motherboard sound. Just an annoying beep when the Gdm loginscreen pops up for instance, or when you get to the lowest path level in Thunar, or have multiple options when hitting tab in a terminal... Luckily I could bypass the terminal beep with the local options of my terminal emulator otherwise I would have went completely crazy by now..

Re: Remove the annoying system-beep.

Posted: Tue Sep 20, 2011 1:33 pm
by ThistleWeb
There is somewhere you can disable sound on login, or before it. The point is to draw your attention that the login screen is ready to be dealt with, but many, including me don't like it. Try the control panel. The terminals have audible bells which trigger when things happen, again you can disable those too.

Re: Remove the annoying system-beep.

Posted: Sun Dec 25, 2011 2:01 pm
by xircon

Code: Select all

sudo apt-get install gnome-alsamixer && gnome-alsamixer
Mute "Beep" or "PC Beep".

Re: Remove the annoying system-beep.

Posted: Wed Jan 25, 2012 5:39 pm
by ormu
I had the same problem on my laptop with LMDE + Xfce and I was able to solve it by adding the xset command to Xfce autostart list...

Go to Menu -> Settings -> Settings (the upper one) (...or something, I have Finnish menus)

-> Session and startup -> Autostart tab -> click Add...

Name and description: type whatever you want
Command: xset b off

-> click OK.

Reboot (or just restart X?), no more beeping.