My laptop beeps whenever I hit the shutdown button and I’d like to turn it off. A thread named “Manjaro XFCE disable system beep” (I wasn’t able to link to the thread) said to enter this code in the terminal:
echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf
This worked for the OP, but when I tried it I got this error message:
sudo: tee/etc/modprobe.d/nobeep.conf: command not found
There’s a missing space between tee and the directory /etc, so the system thinks that it’s all part of the command’s name. That’s why you’re getting that error message.
Alternative approach…
sudo su -
echo "blacklist pcspkr" >> /etc/modprobe.d/nobeep.conf
exit