Okay, so you know when you press backspace on an empty line in windows terminal, it makes that annoying error sound? How do I change the sound the something else? Thanks.
42 Answers
Windows Terminal (err, now renamed just "Terminal") 1.13 and later have added an option to set the bell sound directly via the profile.bellSound setting. It can set to a single audio file or an array. If set to multiple audio files, Terminal will choose one at random for the beep/bell each time it is triggered.
At the time of this update, Terminal 1.13 is in Preview, but the feature is expected to eventually find its way into a Stable release, of course.
Previous answer for older versions of Windows Terminal
The Windows Terminal bell is mapped to the currently assigned Windows "Critical Stop" sound. To change the sound you hear for the Windows Terminal Bell, you can change the sound (the .wav file) which is mapped to "Critical Stop".
Yes, that .wav file can be anywhere on your computer. To start, press the Windows key or click the Windows "Start" menu, and start typing "change system sounds". You'll see that entry come up in the menu before you even complete typing it all the way:
From the resulting panel:
Select the "Critical Stop" sound, and then "Browse". As mentioned, you can browse to any .wav file on your PC.
You can also disable the bell entirely or change it to a visual bell in the latest release (as of about a week ago) of Windows Terminal. If you have automatic updates on, you probably have it already.
1Specifically for Ubuntu users of the Win10 terminal, it's possible to turn off the audible and activate the Linux-friendly blinking.
In the Win10 terminal go to Settings > Ubuntu > Advanced > Flash window
1