On 21. 10. 21., Gary Jennejohn wrote:
On Thu, 21 Oct 2021 10:03:05 -0700
Gleb Smirnoff <gleb...@freebsd.org> wrote:

On Thu, Oct 21, 2021 at 11:02:14AM +0300, Slawa Olhovchenkov wrote:
S> > laptops. If somebody is using vt(4) instead of X on a laptop, then
S>
S> This change disable bell in X11 too.
S> This is completly disable speaker bell.

Are you sure? I haven't yet upgraded my desktop to this point, so can't test.
How is that possible that vt(4) affects X11?


He could be right.  I don't use vt, but syscons also has a bell setting:
sysctl -d hw.syscons.bell hw.syscons.bell: enable bell

With this set to 1 a ^G in xterm results in a beep.  After setting the
sysctl to 0 a ^G in xterm produces no sound at all.

FYI, Xorg server beeps via xf86OSRingBell(), i.e.,

https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/os-support/bsd/bsd_bell.c#L61

IOW, if console cannot beep, xterm does not beep.

Jung-uk Kim

Reply via email to