个人工具

UbuntuHelp:HowToDisableSystemBell

来自Ubuntu中文

跳转至: 导航, 搜索

Disabling the System Bell

You know that beep you get when press the wrong key in xterm? Well here is a mini-howto to get rid of the beep (system bell) if it annoys you.

KDE Notifications

In KDE the system bell can be turned off or on by: K Menu > System > System Settings TODO: Finish write up.

Gnome Notifications

TODO: Finish write up of Gnome section.

System-wide

You can stop the PC speaker from beeping by removing the PC speaker kernel module. To do so run the following command in a terminal:

sudo rmmod pcspkr

A more permanent way is to disable the loading of the PC speaker kernel module. Add the following line to your /etc/modprobe.d/blacklist file, to blacklist and stop the module for loading at boot:

blacklist pcspkr 

Thanks to the users who investigated this on the Ubuntu forums