UbuntuHelp:HowToDisableSystemBell
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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