11
禁用BEEP的方法
source link: https://www.lujun9972.win/blog/2016/11/05/%E7%A6%81%E7%94%A8beep%E7%9A%84%E6%96%B9%E6%B3%95/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
禁用BEEP的方法 - 暗无天日
禁用BEEP的方法
从 Arch Wiki 中找到的解决方法:
- 用
rmmod pcspkr
从内核模块中移除pcspkr
模块。 但这需要root权限 在
.xinitrc
中添加xset -b
,在.bash_profile
中添加setterm -blength 0
.这里之所以不在
.bashrc
中运行setterm -blength 0
,是因为xterm
并部支持--blength
选项,每次启动时都会提示setterm: terminal xterm does not support --blength
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK