20 August, 2007

HowTo disable speaker in the Linux terminal

Speaker in the linux console is very tiresome.
I know way how to disable system speaker.
  1. Insert line:

    set bell-style none

    to the file .input.rc

  2. Execute command:

    setterm -blength 0
    or
    setterm -bfreq 0
    or
    echo -ne '\033[11;0]'


Enjoy :-).

No comments: