特殊:Badtitle/NS100:HowToDisableSystemBell
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HowToDisableSystemBell }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/af | • {{#if: UbuntuHelp:HowToDisableSystemBell|Afrikaans| [[::HowToDisableSystemBell/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ar | • {{#if: UbuntuHelp:HowToDisableSystemBell|العربية| [[::HowToDisableSystemBell/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/az | • {{#if: UbuntuHelp:HowToDisableSystemBell|azərbaycanca| [[::HowToDisableSystemBell/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/bcc | • {{#if: UbuntuHelp:HowToDisableSystemBell|جهلسری بلوچی| [[::HowToDisableSystemBell/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/bg | • {{#if: UbuntuHelp:HowToDisableSystemBell|български| [[::HowToDisableSystemBell/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/br | • {{#if: UbuntuHelp:HowToDisableSystemBell|brezhoneg| [[::HowToDisableSystemBell/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ca | • {{#if: UbuntuHelp:HowToDisableSystemBell|català| [[::HowToDisableSystemBell/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/cs | • {{#if: UbuntuHelp:HowToDisableSystemBell|čeština| [[::HowToDisableSystemBell/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/de | • {{#if: UbuntuHelp:HowToDisableSystemBell|Deutsch| [[::HowToDisableSystemBell/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/el | • {{#if: UbuntuHelp:HowToDisableSystemBell|Ελληνικά| [[::HowToDisableSystemBell/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/es | • {{#if: UbuntuHelp:HowToDisableSystemBell|español| [[::HowToDisableSystemBell/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/fa | • {{#if: UbuntuHelp:HowToDisableSystemBell|فارسی| [[::HowToDisableSystemBell/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/fi | • {{#if: UbuntuHelp:HowToDisableSystemBell|suomi| [[::HowToDisableSystemBell/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/fr | • {{#if: UbuntuHelp:HowToDisableSystemBell|français| [[::HowToDisableSystemBell/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/gu | • {{#if: UbuntuHelp:HowToDisableSystemBell|ગુજરાતી| [[::HowToDisableSystemBell/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/he | • {{#if: UbuntuHelp:HowToDisableSystemBell|עברית| [[::HowToDisableSystemBell/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/hu | • {{#if: UbuntuHelp:HowToDisableSystemBell|magyar| [[::HowToDisableSystemBell/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/id | • {{#if: UbuntuHelp:HowToDisableSystemBell|Bahasa Indonesia| [[::HowToDisableSystemBell/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/it | • {{#if: UbuntuHelp:HowToDisableSystemBell|italiano| [[::HowToDisableSystemBell/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ja | • {{#if: UbuntuHelp:HowToDisableSystemBell|日本語| [[::HowToDisableSystemBell/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ko | • {{#if: UbuntuHelp:HowToDisableSystemBell|한국어| [[::HowToDisableSystemBell/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ksh | • {{#if: UbuntuHelp:HowToDisableSystemBell|Ripoarisch| [[::HowToDisableSystemBell/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/mr | • {{#if: UbuntuHelp:HowToDisableSystemBell|मराठी| [[::HowToDisableSystemBell/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ms | • {{#if: UbuntuHelp:HowToDisableSystemBell|Bahasa Melayu| [[::HowToDisableSystemBell/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/nl | • {{#if: UbuntuHelp:HowToDisableSystemBell|Nederlands| [[::HowToDisableSystemBell/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/no | • {{#if: UbuntuHelp:HowToDisableSystemBell|norsk| [[::HowToDisableSystemBell/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/oc | • {{#if: UbuntuHelp:HowToDisableSystemBell|occitan| [[::HowToDisableSystemBell/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/pl | • {{#if: UbuntuHelp:HowToDisableSystemBell|polski| [[::HowToDisableSystemBell/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/pt | • {{#if: UbuntuHelp:HowToDisableSystemBell|português| [[::HowToDisableSystemBell/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ro | • {{#if: UbuntuHelp:HowToDisableSystemBell|română| [[::HowToDisableSystemBell/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/ru | • {{#if: UbuntuHelp:HowToDisableSystemBell|русский| [[::HowToDisableSystemBell/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/si | • {{#if: UbuntuHelp:HowToDisableSystemBell|සිංහල| [[::HowToDisableSystemBell/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/sq | • {{#if: UbuntuHelp:HowToDisableSystemBell|shqip| [[::HowToDisableSystemBell/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/sr | • {{#if: UbuntuHelp:HowToDisableSystemBell|српски / srpski| [[::HowToDisableSystemBell/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/sv | • {{#if: UbuntuHelp:HowToDisableSystemBell|svenska| [[::HowToDisableSystemBell/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/th | • {{#if: UbuntuHelp:HowToDisableSystemBell|ไทย| [[::HowToDisableSystemBell/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/tr | • {{#if: UbuntuHelp:HowToDisableSystemBell|Türkçe| [[::HowToDisableSystemBell/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/vi | • {{#if: UbuntuHelp:HowToDisableSystemBell|Tiếng Việt| [[::HowToDisableSystemBell/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/yue | • {{#if: UbuntuHelp:HowToDisableSystemBell|粵語| [[::HowToDisableSystemBell/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/zh | • {{#if: UbuntuHelp:HowToDisableSystemBell|中文| [[::HowToDisableSystemBell/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/zh-hans | • {{#if: UbuntuHelp:HowToDisableSystemBell|中文(简体)| [[::HowToDisableSystemBell/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToDisableSystemBell | UbuntuHelp:HowToDisableSystemBell | {{#if: | :}}HowToDisableSystemBell}}/zh-hant | • {{#if: UbuntuHelp:HowToDisableSystemBell|中文(繁體)| [[::HowToDisableSystemBell/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:HowToDisableSystemBell|:HowToDisableSystemBell|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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