Created attachment 32302 [details]
I disable beep using 'xset b off' command. When I switch to a console (using Ctrl-Alt-F1) and then switch back to X, the beep is re-enabled. It can be disabled again.
Also, potentially related, 'xet b off' in .xinitrc does not have any effect. It works if run at a later time.
I first noticed this problem around the update to xorg-server-1.7, and tested using the twm and fvwm window managers.
xset b off
An update on this issue (updated to xorg-server-184.108.40.2062):
Having looked into the problem in more detail, it is the bell generated using XBell() which is affected.
When 'xset b off' is issued, XBell() is silent. Switching to a console and back to results in XBell() making sound again.
Also, 'xset b off' in .xinitrc has no effect, but works at a later time.
I had some recent confusion using a recent xterm which used XKbBell(). Now ruling this out by calling XBell() directly.
Two threads, not very conclusive:
I tracked this down far enough to know that the posting by Mark Hills mentioned above is in fact about this problem. I too worked around it myself by cutting out the copy of the kbdfeed.ctrl, but this is almost certainly not the proper fix.
The posting by Alan Coopersmith is about a different problem, but both signify something fundamentally wrong with the keyboard master/slave and virtual core keyboard implementation. But as I don't understand either of those concepts, I have no idea just what is wrong.
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.