Disable Beep Sound in the Gnome Terminal Centos/Redhat/Ubuntu

1

This beep sound is annoying under Linux, how do I disable it forever under CentOS / Red Hat / Ubuntu Linux?

There are different methods to disable / turn of beep under Linux (turn off terminal beep). Use any one of the following method as per your requirements.

 

 

 

 

If you are using CenOS/Redhat:

  1. Open Terminal (Application  —–>  Accessories  —–> Terminal)
  2. Go to Edit —–> Profile.
  3. Select Default Profile   —–> Edit   —–> General Tab
  4. UN – Check Terminal Bell.
  5. Click Close.

If you are using bash shell:

Open you ~/.inputrc file (i.e. /home/yourname/.inputrc file

$ vi .inputrc
Append the following line:
"set bell-style none"

Save and close the file

If you are using Ubuntu Linux:

  1. Open the Terminal ( Applications > Accessories > Terminal)
  2. Go to Edit —–> Profile Preference —–> General
  3. UN – Check Terminal Bell.
  4. Click Close.

In Gnome Terminal:

  1. Open Gnome terminal
  2. Click on Settings > Preferences > Silence Terminal Bell

Alternatively, Click on General Tab -> General -> UN-Check Terminal bell option.

You might also like