“UbuntuHelp:HowToDisableSystemBell”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/HowToDisableSystemBell}} {{Languages|UbuntuHelp:HowToDisableSystemBell}} == Disabling the System Bell == You know that beep you get when press the...) |
小 |
||
第6行: | 第6行: | ||
In KDE the system bell can be turned off or on by: | In KDE the system bell can be turned off or on by: | ||
K Menu > System > System Settings | K Menu > System > System Settings | ||
+ | ''TODO: Finish write up.'' | ||
=== Gnome Notifications === | === Gnome Notifications === | ||
+ | ''TODO: Finish write up of Gnome section.'' | ||
=== System-wide === | === 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: | ||
+ | <pre><nowiki> | ||
+ | sudo rmmod pcspkr | ||
+ | </nowiki></pre> | ||
+ | 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: | ||
+ | <pre><nowiki> | ||
+ | blacklist pcspkr | ||
+ | </nowiki></pre> | ||
''Thanks to the users who investigated this [http://ubuntuforums.org/showthread.php?t=126746 on the Ubuntu forums]'' | ''Thanks to the users who investigated this [http://ubuntuforums.org/showthread.php?t=126746 on the Ubuntu forums]'' | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月18日 (一) 16:11的最新版本
点击翻译: |
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