Enable and disable system beep on Linux
Enable system beep
sudo modprobe -v pcspkr
Disable system beep
sudo modprobe -rv pcspkr
Cause terminal emulator to beep
printf '\a'
You can place in your ~/.bashrc:
xset b off
Preserving for the future: Shell scripts, AoC, and more
Enable system beep
sudo modprobe -v pcspkr
Disable system beep
sudo modprobe -rv pcspkr
Cause terminal emulator to beep
printf '\a'
You can place in your ~/.bashrc:
xset b off
Comments