Greg Wooledge wrote:
> On Fri, Oct 18, 2024 at 15:05:31 -0700, Larry Martell wrote:
>> On Fri, Oct 18, 2024 at 3:00 PM Arbol One <arbol...@hotmail.ca> wrote:
>> >
>> > Hello everyone.
>> >
>> > Could anyone tell me how to make Debian 12-gnome-terminal make a beep 
>> > sound after completing a shell script.
>> 
>> Way back in the day I used to do this:
>> echo '^G'
>
> The more-portable version of this is printf '\a'.
>
> The issue, though, is that what the terminal *does* with this \007
> byte depends on a truly formidable number of different settings and
> layers.  The terminal may cause the system to beep, or it may flash,
> or it may do nothing at all.
>
> Arbol One could try printf '\a' and see what happens.  If they get a
> beep, then all is well, and they can use this however they see fit.
> But if it doesn't beep, then trying to diagnose *why* could be tricky.
>
> If diagnosis/modification is needed, they might start with "xset q"
> and see whether the bell is enabled in that particular layer.  If
> not, xset can change that setting.  If the bell is enabled in xset but
> still not audible, then I don't know what the next layer to check is.
> (GNOME?  ALSA?  Pulse audio?  Pipewire?)

  also making sure the speaker is enabled in the bios,
or the terminal itself or the desktop settings.

  i happen to be someone who instantly turns off beeps
in any desktop i normally use, i've sometimes had to go
in and remove speakers or put switches on wires if i
could not get the speaker out.

  working very often through the night and having 
roommates already PO'd because the keyboard could not
be silent.  the best i could do was type with my hands
under blankets.


  songbird

Reply via email to