Disable Beep Sound in the Gnome Terminal Centos/Redhat/Ubuntu
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:
- Open Terminal (Application —–> Accessories —–> Terminal)
- Go to Edit —–> Profile.
- Select Default Profile —–> Edit —–> General Tab
- UN – Check Terminal Bell.
- 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:
- Open the Terminal ( Applications > Accessories > Terminal)
- Go to Edit —–> Profile Preference —–> General
- UN – Check Terminal Bell.
- Click Close.
In Gnome Terminal:
- Open Gnome terminal
- Click on Settings > Preferences > Silence Terminal Bell
Alternatively, Click on General Tab -> General -> UN-Check Terminal bell option.