Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Under Linux - Is there a simple way of disabling all beeps for all applications?

A coworker near me has a Linux computer that beeps a lot. It's running a scheduled task that runs for several hours, and beeps constantly - it can beep dozens of times per minute. Somehow she and other workers can live with the constant beeping, but frankly, this drives me nut crazy. The program causing the beeps isn't a shell script, it's a homemade gui program.

I assume it is an old production server, and the job it does is important, so I'd prefer a minimal impart solution, preferably without restarting.

share|improve this question
Thanks everyone! The server starts at weekends and runs until Sunday (work day here), so I can only check this next week. I'll be back. – Kobi Aug 3 '09 at 10:27
up vote 5 down vote accepted

I'm assuming that you mean the PC Speaker beep, because the beep in a connected speaker would be easy to remove by just turning off the speakers.

See this answer on server fault, but the jist of it is:

modprobe -r pcspkr

on the command line, and add

blacklist pcspkr

to the /etc/modprobe.d/blacklist.conf file.

Newer kernels use the snd_pcsp module instead, so if it doesn't work, try the same two things as above except with snd_pcsp in the place of pcspkr

share|improve this answer
Note: this question is also a duplicate of… , which may need a retitle or something – jamuraa Aug 2 '09 at 8:18
For me (Ubuntu 9.04) this still worked with pcspkr. – Mark van Lent Aug 2 '09 at 8:19

Given that it's a GUI program, you can just type "xset b off" in a terminal.

share|improve this answer

Not exactly Linux-specific, but I've been known to unplug the speaker wires from the motherboard. Unfortunately, not all computers like to be opened up while running.

share|improve this answer

Most motherboards have a beeper somewhere on them, this sounds if you haven't connected the one on the case. (this is an extra beeper, nothing to do with soundcards or 'real' speakers in some more expensive cases) Removing the pcspkr module will only work if it is compiled as module and not built into the kernel.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .