临时的方案
sudo rmmod pcspkr
一劳永逸的方案
sudo echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist
其它方法,就是在/etc/inputrc文件中把
set bell-style none
前的注释去掉,改为
set bell-style off
sudo rmmod pcspkr
sudo echo "blacklist pcspkr" >> /etc/modprobe.d/blacklist
set bell-style none
前的注释去掉,改为
set bell-style off