Turn off the troublesome PC speaker-the Linux Release Technology-Debian information. The following is a detailed description. Original article: Turn off the worried PC speaker
This document consists AndotPost
A few days ago, a buddy in the office installed a Windows 2003 driver without a sound card driver. However, the PC speaker always liked to scream when he typed the command. Later, open the Device Manager and choose Display hidden devices in view. Then, a list of non-plug-and-play drivers is listed below, and Beep devices are selected, disable it.
Today, I installed a Ubuntu 6.06 Server in VMware Player. under its command line, the PC speaker is always screaming and searching the Internet to find several ways to disable it. The simplest is to add a sentence in the/etc/profile file:
Setterm-blength 0
Or in the/etc/inputrc file
Set bell-style none
This statement is enabled.
One of the most embarrassing ways is to directly remove the PC speaker module and add it to/etc/modprobe. d/blacklist:
# Silly speaker beep
Blacklist pcspkr
In this way, after the next startup, the PC Horn will be exhausted.
If you do not want to wait for the next start, directly enter:
Sudo rmmod pcspkr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service