禁用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
