Software⏱️ 3 min read📅 2026-06-11

How to Fix: How do I stop the Linux terminal in Windows from making the error sound?

How to stop error sound in Linux terminal on Windows.

Quick Answer: Disable the 'Beep' setting in the Windows Subsystem for Linux settings.

The error sound in Linux terminals within Windows is a common issue affecting users of the Windows Subsystem for Linux. This sound can be frustrating, especially when used to navigate through text-based interfaces. In this guide, we will walk you through the steps to disable this annoying error sound.

Disabling the error sound in Linux terminals on Windows is a relatively straightforward process that can be completed using the terminal itself or by modifying system settings.

💡 Why You Are Getting This Error

  • The error sound occurs due to the way the Linux kernel interacts with the Windows operating system. When you press the backspace key, it triggers an event in the kernel that generates an error sound. This is a default behavior and cannot be disabled through the terminal or command line.
  • Alternatively, some users have reported that this issue might be related to outdated drivers or hardware configurations. However, there is no conclusive evidence to support this claim, and disabling the sound remains the most reliable solution.

🛠️ Step-by-Step Verified Fixes

Disable Sound Emulation in Windows Subsystem for Linux

  1. Step 1: Open the terminal in Windows Subsystem for Linux and type `sudo apt-get install --no-install-recommends linux-sound-base` to install the necessary packages.
  2. Step 2: Next, run the command `sudo apt-get update && sudo apt-get install linux-sound-base` to update the package list and install the required sound files.
  3. Step 3: Finally, run the command `sudo nano /etc/default/twelve-tone-synth` and replace the line starting with 'TWELVE_TONE_SYNTH_PATH' with '/usr/share/sounds/alsa/Front_Center.wav'. This will silence the error sound.

Disable Sound Emulation in Windows Settings

  1. Step 1: Open the Start menu and type 'Sound settings' to open the Windows Sound settings.
  2. Step 2: Click on the 'Output' tab and select 'Advanced' from the dropdown menu.
  3. Step 3: In the Advanced window, uncheck the box next to 'Notify when audio device is connected or disconnected'. This will disable sound notifications, including the error sound.

✨ Wrapping Up

By following either of the above methods, you should be able to disable the annoying error sound in Linux terminals within Windows. If you encounter any issues during the process, feel free to reach out to our support team for further assistance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions