The beep sound is really annoying on a Linux system, especially when trying to use TAB completion for commands on a Linux terminal. If you are new to Linux have a look at 30 Mostly used Linux Commands For Newbies with Examples. So how do I permanently disable this beep sound? worry less because I have got a solution for you.
We’ll go through disabling it on Ubuntu, Debian, Kali Linux, Fedora, CentOS, and RHEL.

This will vary depending on the terminal bash shell of your choice.

1) On Ubuntu, Debian and Kali Gnome Terminal

First, open Gnome terminal then click on:
Terminal>Edit>Profile Preferences > General > Terminal Bell, uncheck the ticked terminal bell check-box. See the screenshots below.

ubuntu beep disable

For Kali Linux and Debian see below.

kali beep unchecked

If you are using xterm terminal emulator, type:

echo xset b off >> ~/.xession

For vim; Vi IMproved, a programmers text editor, turn off beep alert sound by appending the following line to the file~/.vimrc.

vim ~/.vimrc

Then add

set vb

at the end of the file, press Esc key then: wq to save and quit. A single line command to accomplish that without the use of vim is.

echo set vb >> ~/.vimrc

That’s all,
How to Check your Computer Hardware Configurations in Linux
How to Change Your MAC address in Kali Linux and Linux
How To Reset Root And User Password In CentOS 7.0 and RHEL
How To Configure Static IP address in Ubuntu Server 14.04

Search Tags:
Removing beep sound on Kali Linux
How to remove beep sound on Debian and Ubuntu
Beep sound permanent removal on Gnome Terminal

 

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here