18

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 ?

1
  • 3
    I really hate bell !!! Why do they even have them ? Makes no sense to me. (Well I know there use but they really annoy you, don't they ? :) )
    – L Lawliet
    Commented May 22, 2014 at 17:46

1 Answer 1

37

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.

3
  • 1
    Thanks man bell_msg "" did the trick. I already have vbell off.
    – L Lawliet
    Commented Jun 4, 2014 at 17:58
  • 3
    bell_msg "" doesn't "disable" the bell but it does disable the popup (you will still hear/see it in the active window). vbell off and CTRL+A,CTRL+G do the same thing and change between audio and visual bell (so they have no affect on this problem).
    – whitey04
    Commented Feb 23, 2016 at 14:58
  • 1
    @whitey04 read the question and answer more carefully. You comments are either wrong or haven't addressing the issues in the question and answer.
    – user445786
    Commented Apr 1, 2016 at 3:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.