[Techtalk] Terminal beeps

Avery Ke avery at u.washington.edu
Thu Jan 22 23:47:51 EST 2004


Mary wrote:
>How can I turn off the terminal beep at the command line? I normally use
>gnome-terminal, and if it's just turned off there, that's better than
>nothing.

You can add the following lines to your .bash_profile and .xsession
files respectively:

# in .bash_profile file
case "`tty`" in
    /dev/tty[0-9]) setterm -blength 0; 
esac

# in .xsession file
xset b off &


Avery


More information about the Techtalk mailing list