8

How to Turn Off Hardware Beep Sound For Terminal on Major Linux Distributions

 2 years ago
source link: https://computingforgeeks.com/how-to-turn-off-hardware-beep-sound-for-terminal-on-major-linux-distributions/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to Turn Off Hardware Beep Sound For Terminal on Major Linux Distributions

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.

For Kali Linux and Debian see below.

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK