Remove the annoying doodle in Linux

Source: Internet
Author: User
Remove the annoying doodle in Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Of course, the beep sound is caused by Operation errors, and the system prompts that there is no error, but if you work in the company, everyone is working hard, from time to time, beep, or occasionally, when the night is quiet.

Simply turn it off.

Turn off all the prompts on the Linux Console (without X11). You can run the following command:

Setterm-blength 0

# Alternatively you can change the frequency of the beep to a # very low value:

Setterm-bfreq 10

And under X11 (whether it is KDE, Gnome, XFCE or ......) You can:

Xset B off

As a possible choice for each shell operation, you can directly turn off the prompts in a shell.

For Bash:

# Has to go into/etc/inputrc or. inputrc # It will not work in a. bashrc file!

Set bell-style none

For Tcsh:

# Put this into your. tcshrc file

# Just tab completion beep off: set matchbeep = never # any beep off: set nobeep = 1

To avoid misunderstanding, we hereby declare that the above operations only turn off the sound of the buzzer and you can still listen to songs on your computer.

The world is quiet, and the speaker on the motherboard will be unplugged.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.