The X window system provides the command
xset b on
to turn on the 'bell' that rings when Ctl-G is sent to an
xterm, for example. Unfortunately, the default seems to be to try to play the bell on the PC speaker, which I don't have on my hardware.
How can I get X to play the bell on the default audio device, like
/dev/dsp or something of that nature?