Gnome Linux disable or turn off beep sound for Terminal, bash
Q. This beep sound is annoying under Linux, how do I disable it forever?
A. To be frank there are many ways exists - to turn off terminal beep. Use any one of the following method as per your requirements.
If you are using Gnome terminal
a) Open Gnome terminal
b) Click on Settings > Preferences > Silence Terminal Bell
Or Click on General Tab -> General -> Un-Check Terminal bell option
If you are using xterm
Open ~/.xsession file (i.e. /home/you/.xession)
$ cdAppend following line
$ vi .xession
xset b off
Save and close the file.
If you are using bash
Open you ~/.inputrc file (i.e. /home/you/.inputrc file
$ cdAppend following line:
$ vi .inputrc
set bell-style none
Save and close the file.
If you just want to turn off beep for VIM text editor:
Open vim config file ~/.vimrc (i.e. /home/you/.vimrc)
$ cd
$ Vi .vimrc
Append following line
set vb
Save and close the file.
If you are using Ubuntu Linux
a) Click on Applications > Accessories > Terminal
b) Now click on Edit Menu > Current Profile
c) Click on General Tab > General > Remove check box (Terminal bell)
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- CentOS / Red Hat / Fedora Linux Turn off Beep / Bell Terminal Sound
- Linux: Why do I not hear sound when I play an audio CD or mp3 file?
- Fedora core Linux sound card configuration
- Howto disable the iptables firewall in Linux
- Howto: Linux desktop adjust sound or Linux volume control
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: beep sound, beeper, beeps, bell sound, bell style, console beep, disable beep, Gnome, linux disable beep, linux disable console beep, linux disable system beep, linux kernel, linux turn off beep sound, linux turn off system beep, pc speaker, silence, terminal beep, terminal bell, turn off beep in linux, turn off beep linux, vim, xset



November 9th, 2007 at 4:43 pm
in KDE konsole: Settings> Bell > None
Thanks.
November 15th, 2007 at 4:09 pm
Great tip. Saved me a lot of headaches hehe
February 1st, 2008 at 11:10 pm
Thank you for this tip to turn off the terminal beep. I used your bash shell suggestion, which worked perfectly after reboot. Thanks again!
February 23rd, 2008 at 1:56 pm
I found this:
http://ubuntu-tutorials.com/2007/07/26/turning-off-the-system-hardware-beep-linux-tutorial/
For a altogether system bell disable.
June 25th, 2008 (2 weeks ago) at 2:45 am
I HAVE A CONSTENT BEEPING HOW DO I TURN IT OFF