Due to the proliferation of cellular phones and walkmans it's not quite common in our days to take care of a quiet environment. Anyway I want to give some recommendations for the polite ones.
Computer noises are caused by hardware (fan, optical drive, hard disk) and applications.
The beeping of X11 windows can be configured to a shorter and lower pitched tone or even to a blunt "thump" with xset b ... options (a lower pitched tone is usually less annoying and distracting). Independently of that, most xterm-compatible windows and shells can be configured to make "visual bell" instead of "audio bell". For the console setterm -blength 0 and for X11 xset b off turns the bell off. See also the PCMCIA-HOWTO and much more details in the Visible-Bell-Howto.
When starting your laptop with PCMCIA-CS
configured correctly, this will be shown by two high beeps. If you
want to avoid this put CARDMGR_OPTS="-q" into the
PCMCIA configuration file, e.g.
/etc/default/pcmcia for Debian/GNU Linux.
To avoid the dialtones during the modem dialing add
module "serial_cs" opts "do_sound=0"
/etc/pcmcia/config.opts (from man
serial_cs). This will disable speaker output completely,
but the AT M command should let you selectively
control when the speaker is active, e.g. AT M0
turns off the modem's speaker.
Please make sure what you are doing, when configuring the fan. Your laptop may overheat and die, in case you have done something wrong. Just in case you want to check the fan try to cause a heavy CPU load, for example by issueing md5sum /dev/urandom. Now top will show an increased CPU load and the fan should began to run eventually. Note: usually you need to have been connected to power, otherwise the CPU might reduce load by itself. Also watch for the CPU temperature acpi -bt or cat /proc/acpi/thermal_zone/*.
For some laptop series there are Linux utilities available to control the fan and other features.
With some laptops the fan is always on or at least very often. Here are some remedies.
In some cases the fan is always on because the CPU is working with highest frequency. You may use either cpufreqd or cpudyn to cure this.
parport causes the fan to be
always on. You may edit the
to cure this:
alias parport_lowlevel parport_pc options parport_pc io=378 irq=7
The IO address and the IRQ number depend on the hardware settings or the BIOS configuration. Often the IRQ does not need to be given. The problem and its solution was discussed in the SuSE Laptop Mailing List (in German).
To avoid unnecessary hard disk noise you may use the same techniques as described in the power saving chapter above. Modern laptop and notebook hard drives come with a so-called "Acoustic Management", just have a look into the manual to get an overview about the possible settings.
Some hard disk manufacturers offer dedicated tools, e.g. Hitachi's Feature Tool allows to change the drive Automatic Acoustic Management settings to the Lowest acoustic emanation setting (Quiet Seek Mode), or Maximum performance level (Normal Seek Mode). Also hdparm -M offers some Acoustic Management options.