5

I am getting really nervous when I press 'Tab' twice and screen is blinking (goes to opposite color and returns back).

I tried to change the setting in .Xdefaults file with:

XTerm*visualBell:  False

but could not get rid of this.

I also tried to kill the VNC process and re-created but it still doesn't work!

Does anybody have a solution for removing this behaviour?

рüффп
  • 620
  • 1
  • 11
  • 24
Narek
  • 235
  • 1
  • 4
  • 15

6 Answers6

4

I have found the problem: in my home directory there wan another .Xresources file in which it was written

XTerm*visualBell: True

So Xterm was initializing from not .Xdefaults but from .Xresources! Anyway thanks!

Narek
  • 235
  • 1
  • 4
  • 15
1

To disable it on a single xterm: Control middle-click on the xterm, and unselect 'Enable Visual Bell'

The default (according to the manpage) setting for the visual bell is off, so it must be getting turned on somewhere.

Run:

xrdb -query |grep -i ^xterm

And see if the visualBell resource is set.

To disable it for your current session, run:

echo 'xterm*visualBell: false' | xrdb -merge
MikeyB
  • 38,725
  • 10
  • 102
  • 186
0

Are you using xterm or gnome-terminal?

If the latter, the instructions here show how to turn on the visual bell. I've copied and reversed the instructions so you can turn it off:

  • Be sure gnome-terminal has the bell enabled: In the Gnome Terminal menu: Edit > Profile Preferences > Terminal Bell must be checked. Pressing backspace at a prompt should cause an annoying audible beep.
  • Turn on window flashing: In the Gnome menu: System > Preferences > Sound, click on the Sounds tab, Change the "Visual alert" setting to "Disabled."
  • Enable the audible bell. In the same panel, check the "Play alert sound" check box.

Or you could edit the file ~/.gconf/apps/metacity/general/%gconf.xml and change this line so that it has "true" in it (yes, "true" for "off") as shown:

<entry name="visual_bell" mtime="1253605354" type="bool" value="true"/>

Also, as a workaround, in csh you can:

set nobeep
Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148
0

what about

xset b off

greetz

zero_r
  • 2,345
  • 2
  • 15
  • 16
0

A quick and easy way I do it:

rmmod pcspkr
Coops
  • 5,967
  • 1
  • 31
  • 52
-1

~/.inputrc:

set bell-style none
Andrejs Cainikovs
  • 1,611
  • 1
  • 14
  • 20