16

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 ?

L Lawliet
  • 2,565
  • 4
  • 26
  • 35
  • 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 May 22 '14 at 17:46

1 Answers1

35

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.

user445786
  • 521
  • 4
  • 4
  • 1
    Thanks man bell_msg "" did the trick. I already have vbell off. – L Lawliet Jun 04 '14 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 Feb 23 '16 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 Apr 01 '16 at 03:37