It is a fundamental part of my belief structure that computers should be silent, unless told otherwise. A default install of the operating system should not make any sounds, unless there is a really good reason to. Thus, I object to the following:

  • GDM beeping when it is ready to let me log in
  • login sounds
  • sound effects whenever I do anything, such as open or close windows
  • sound effects whenever the computer wants to tell me something that isn't particularly important, such as new e-mail, IRC or IM messages to me, the networking going up or down, or a hard disk going missing
  • a beep when I reboot or shutdown the computer

I'm sure there are situations when it would be OK for my computer to make noise to alert me. For example, supposed I'm asleep, and a zombie has penetrated my defensive perimeters and is about to chop off the top of my skull so it can devour my brain. In that case, I would be OK with my computer beeping. Once.

Some remedies:

  • With gdm3, edit /etc/gdm3/greeter.gconf-defaults to set /desktop/gnome/sound/event_sounds to false
  • Configure GNOME's sound theme to be "No sounds". (It should not be necessary to set "alert sounds" to muted, but it won't hurt either.)
  • Run amixer -q sset Beep off to shut up wall and other such tools. (I made an init.d script to make that happen automatically, and to make sure I don't forget it when I install new machines for myself.)

Now, it's possible that other people might like or need their computer to make sounds. I imagine, for example, that the GDM login-ready beep is to help people with vision problems. I'm all for that. However, I wish it be easier to shut things up in one simple place for those of us who don't need it.

Edit: Thanks to NP237, noshadow, lindi-, flightplan, and others on #debian-devel with help on shutting up wall.

Agree 100%. I still can't get rid of my beep at shutdown, I'd already tried the first fix on your list, I can't seem to change the GNOME sound theme (even under a root login) and will find if the third suggestion works when I switch off my laptop!
Comment by pentaro Sat May 7 12:45:31 2011

Depending on the source of the beep, it may help to blacklist the pcspkr and snd-pcsp kernel modules. Create a file /etc/modprobe.d/beepless.conf which contains the following:

blacklist pcspkr
blacklist snd-pcsp

However, on some systems the beep comes from the sound card instead, in which case you need the amixer command you mentioned.

Comment by JoshTriplett Sat May 7 15:48:59 2011

Josh, you're entirely right. In fact, that's what I tried first, this morning, after that didn't work, I got frustrated enough to try to figure out what would work.

Blacklisting those two modules should definitely help, particularly on desktop PCs. (And easier to do than opening the case to rip out the speaker, which I've done before.)

Comment by Lars Wirzenius Sat May 7 17:07:22 2011

That's the first thing to do when configuring a computer. The second and almost as important is turning off all stupid UI animations.

Actually animations is the biggest gripe I have with my N900 phone now (and in KDE there's one - thankfully only one - place, Konsole's background color dialog or something like that, where you cannot turn off the animations). I just cannot understand. My phone/computer already has the information I want to see, but for some inexclicable reason showing it has to be delayed so I can watch some animation. Not unlike advertisements in television, except here I cannot understand their raison d'ĂȘtre.

Comment by Sami Sun May 8 22:03:34 2011
I think it would be even better to have someone implement some long-lasting optional way to shutdown the speakers. Have you tried and filing a bug in order to suggest such a change ?
Comment by obergix Tue Aug 16 06:03:36 2011