Search code examples
linuxterminalgnu-screentty

How do I completely disable bell in screen (both visual and audio)


In screen, is there a way to completely disable bell ?

I know you can switch to audio bell instead of the visual one and have already done that and have also specified no bell in putty so I don't hear anything but whenever there is a bell in one window, I see an annoying popup on the other windows say "bell in window 1" and so on.

Any idea on how to get rid of it ?


Solution

  • To permanently disable the visual bell, you need to add the following command to your .screenrc file:

      vbell off
    

    I haven't tested it, but adding the additional line to your .screenrc file should disable the message bell:

      bell_msg ""
    

    To disable it in a session (temporarily, not permanently), issue the following command from the session:

      CTRL+A, CTRL+G
    

    See the man page for screen (section 'CUSTOMIZATION') for more information.