Disable System Beep in Linux Fedora 10 - 關掉Linux Fedora 10 系統嗶聲

Thursday, March 5, 2009

| | |
After being annoyed by system beep in Fedora 10, I decided to look for a way to disble such noise. One of articles I read mentioned that beep sound is automatically enabled in Fedora 10 and appearently not in previous versions, some say it is pretty much a bug.

The beep is come from system bell (pcspkr), what is needed to do is to disable it and put it in blacklist. The followings will be needed to do this:

1. Run console under either Gnome or KDE
2. Use su - command with password to become root (Administrator in Windows)
3. Use rmmod pcspkr to disable it
4. To prevent it from loading back again, type in gedit /etc/modprobe.d/blacklist
5. Backlist will be opened with gedit for modification, find the list and add:
# Disable System Beep
blacklist pcspkr
6. Save the file and the system is now free from system beep.

  自從俺被Linux Fedora惱人的系統嗶聲轟炸到十分頭痛,俺就開始上網尋找解方
俺所讀到的其中一篇文章提到Fedora 10 的系統嗶聲是該版開始動啟動的,過去版本沒有這種現象
系統嗶聲來自pcspkr元件,若要停止該元件的運作則需:

1. 啟動Gnome或KDE的純文字控制台(Console)
2. 透過輸入 su - 及密碼進入root權限(相當於是Windows的Administrator管理員)
3. 然後輸入 rmmod pcspkr 禁止該元件運行
4. 接下來輸入 gedit /etc/modprobe.d/blacklist 開啟黑名單進行編輯
5.黑名單開啟後加入下列二行:
# Disable System Beep
blacklist pcspkr
6. 儲存後關閉名單即可避免往後再次聽到刺耳的嗶聲

0 comments: