Sunday, December 15, 2024
Google search engine
HomeGuest BlogsHow To Turn Off Terminal Beep Sound on Linux

How To Turn Off Terminal Beep Sound on Linux

The beep sound is really annoying on a Linux system, especially when trying to use TAB completion for commands on a Linux terminal. 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 UbuntuDebianKali Linux, Fedora, CentOS, and RHEL.

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

Turn Off Terminal Beep Sound on Linux

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

Now enjoy silent work time on your Terminal in a Linux system. Also check Udemy courses that helps you master Linux system administration:

RELATED ARTICLES

Most Popular

Recent Comments