Author Topic: Turn Off Annoying System Beeps  (Read 1636 times)

Offline grnich

  • Hero Member
  • *****
  • Posts: 3736
  • Just GNU It
Turn Off Annoying System Beeps
« on: May 10, 2010, 09:00:36 AM »
I often use ctrl+alt+backspace key to restart x.   In 2010, that key combination makes a screeching system beep.  To disable the annoying system beep, run the following command in terminal as root:  modprobe -r pcspkr


NOTE:  This disables ALL system beeps.  Your regular audio apps (Amorok, Rythmnbox, etc) still work.

-- grnich
Go Green with PCLinuxOS-- It's Carbon-Neutral  :D

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: Turn Off Annoying System Beeps
« Reply #1 on: May 10, 2010, 12:48:08 PM »
This works too:

Quote
amixer set Beep mute
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Turn Off Annoying System Beeps
« Reply #2 on: May 10, 2010, 02:27:22 PM »
I usually rmmod it + add it in blacklist file. (in /etc/modprobe.d/blacklist)

Do you commands mute it for all sessions to come as well ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline NLite

  • Full Member
  • ***
  • Posts: 108
Re: Turn Off Annoying System Beeps
« Reply #3 on: May 10, 2010, 02:43:52 PM »
Would any of these methods work for the annoying beep in chromium-browser, too? Yanno, the one you get when you backspace to the beginning of the searchbar, and it reminds you that there's no more space to backspace?

I tried to get rid of it via the KDE Control Center, but whatever can be configured in notifications, it's nothing that helps me.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Turn Off Annoying System Beeps
« Reply #4 on: May 10, 2010, 02:54:50 PM »
Hi NLite, bip system is driven by the pscpkr kernel module (and snd-pcsp in a few other distros). This is why the above mentioned method are used to deactivate it.
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline NLite

  • Full Member
  • ***
  • Posts: 108
Re: Turn Off Annoying System Beeps
« Reply #5 on: May 10, 2010, 02:58:01 PM »
Thanks for the info, melodie. I gather that means it doesn't influence chromium because it's an app and not the system?

Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3790
Re: Turn Off Annoying System Beeps
« Reply #6 on: May 10, 2010, 04:56:04 PM »
I used the amixer command and it survived a reboot! This was really annoying me. I was sure a solution would be easy to find, but I hadn't looked yet.

Galen

Offline grnich

  • Hero Member
  • *****
  • Posts: 3736
  • Just GNU It
Re: Turn Off Annoying System Beeps
« Reply #7 on: May 11, 2010, 07:03:44 AM »
This works too:

Quote
amixer set Beep mute

[greg@localhost ~]$ amixer set Beep mute
amixer: Unable to find simple control 'Beep',0

I'm using 2010 Gnome edition.  Would that make a difference?

Melodie:  The command I posted doesn't seem to persist after reboot.  Can you post  the correct entry to put in that blacklist file?

« Last Edit: May 11, 2010, 07:18:25 AM by grnich »
Go Green with PCLinuxOS-- It's Carbon-Neutral  :D

Online gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3790
Re: Turn Off Annoying System Beeps
« Reply #8 on: May 11, 2010, 07:18:22 AM »
I used the amixer command and it survived a reboot! This was really annoying me. I was sure a solution would be easy to find, but I hadn't looked yet.

Galen

I'm using KDE4.

Galen

Offline grnich

  • Hero Member
  • *****
  • Posts: 3736
  • Just GNU It
Re: Turn Off Annoying System Beeps
« Reply #9 on: May 12, 2010, 07:56:11 AM »
OK, I answered my own question. 

In etc/modprobe.d/blacklist add a line that contains 'blacklist pcspkr' (without the quotation marks)

That disables the system speaker (regular audio still works) turning off the annoying system beeps and persisting after reboot.
Go Green with PCLinuxOS-- It's Carbon-Neutral  :D