Like many other people, I dislike the standard error sound that Windows makes when auto-complete fails or when return is hit on an empty line in the WSL bash. Info: Windows 10 Edu, WSL2 with Ubuntu 20.04.
However, I don't want to eliminate it- I want to change it. I can only find tricks to eliminate it either via Sound Mixer or editing the inputrc file. There is one answer saying I can change the whole sound, which is of course not what I want. I would like a custom sound for WSL bash, and the rest to remain Win-default.
Is this possible? Perhaps registry or something within WSL itself?
I found the sounds under /usr/share/sounds/freedesktop/stereo
, which has the bell.oga
file which is what I would like to use. I installed gnome-tweaks which is where I'd adjust this on Ubuntu; but I haven't gotten the GUI within WSL2 working yet. Either way I am unsure whether any setting within WSL affects that Windows treats the WSL bash as just another "console host window". I'd appreciate any leads on this!