Post

Mute the annoying bell sound in Linux

Murder that terminal beep once and for all - with one tiny config spell. πŸ’€

Mute the annoying bell sound in Linux

That Annoying Backspace Beep

You know the one. The terminal beep β€” that ear-piercing β€œBEEP!” that hits you like a sudden betrayal when you backspace one character too far. πŸ˜“
It’s called the β€œbell”, but honestly it sounds more like a horror jump-scare.

Lucky for us, there’s a clean and silent way to shut it up. Permanently. πŸ”ͺ

πŸ”‡ Disable the Bell via ~/.inputrc

This method works like real magic, even in WSL2 or pure Ubuntu setups. Here’s how to exorcise that beep:

  1. Open your inputrc file:

    1
    
    nano ~/.inputrc
    
  2. Add this line to the bottom:

    1
    
    set bell-style none
    
  3. Save and exit.
    • Ctrl + O β†’ Enter to save
    • Ctrl + X to exit
  4. Reload the config:

    1
    
    bind -f ~/.inputrc
    

And that’s it. The beast is dead. πŸͺ¦

🧠 Note: This will mute the bell sound for Bash sessions. It works perfectly on WSL2, Ubuntu, and other Debian-based distros. For Zsh users, you might want to do something similar in your .zshrc.

πŸ’¬ Got your terminal to finally shut up? Leave a comment below and brag a little. You earned it. 😏

πŸ’– Support me with crypto or PayPal! πŸ’˜

πŸ’΅ USDT (TRC20):
TJCANuMYSdgLKRKnpCtscXrS5NgDbBAvF9

🟠 Bitcoin (BTC):
bc1qrc9vhrrhnc9v9s9q9rjn24aj608j44p5hzsxft

Or support me on Ko-fi:

Support me on Ko-fi

Any amount helps me continue creating content πŸ’¬πŸ’»

This post is licensed under CC BY 4.0 by the author.