特殊:Badtitle/NS100:HowToDisableSystemBell:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/HowToDisableSystemBell}} {{Languages|UbuntuHelp:HowToDisableSystemBell}} == Disabling the System Bell == You know that beep you get when press the...
 
Wikibot留言 | 贡献
无编辑摘要
 
第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的最新版本

{{#ifexist: :HowToDisableSystemBell/zh | | {{#ifexist: HowToDisableSystemBell/zh | | {{#ifeq: {{#titleparts:HowToDisableSystemBell|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HowToDisableSystemBell|1|-1|}} | zh | | }}

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