About Linux FAQ

Browse More FAQs:

Gnome Linux disable or turn off beep sound for Terminal, bash

Posted by Vivek Gite [Last updated: March 20, 2008]

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)
$ cd
$ vi .xession
Append following line
xset b off

Save and close the file.

If you are using bash

Open you ~/.inputrc file (i.e. /home/you/.inputrc file
$ cd
$ vi .inputrc
Append following line:
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:

Discussion on This FAQ

  1. Red Says:

    in KDE konsole: Settings> Bell > None
    Thanks.

  2. Martin Says:

    Great tip. Saved me a lot of headaches hehe

  3. Peter Says:

    Thank you for this tip to turn off the terminal beep. I used your bash shell suggestion, which worked perfectly after reboot. Thanks again!

  4. Elton Says:

    I found this:
    http://ubuntu-tutorials.com/2007/07/26/turning-off-the-system-hardware-beep-linux-tutorial/
    For a altogether system bell disable.

  5. Bethany Says:

    I HAVE A CONSTENT BEEPING HOW DO I TURN IT OFF

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!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , , , , , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.