Page 1 of 2

Bell not working iin bash

Posted: Wed Aug 23, 2023 12:43 pm
by Ken E Unix
Hi.

I have not been able to get the bell to work in bash. Audio does work with vlc.

I have tried: echo -e "\007" but -e is not allowed.

I have tried both: printf "\007" and printf "\a".

Has anyone made the bell work in bash?

Thanks
-Ken

Re: Bell not working iin bash

Posted: Fri Aug 25, 2023 5:49 pm
by ericbsd
You will need to go to the Sound Preferences and set the Sound theme to default.

Re: Bell not working iin bash

Posted: Thu Aug 31, 2023 9:50 pm
by Ken E Unix
Ericbsd,

Sorry, I can not find the item you referenced me to. Where would "Sound Preferences" appear? Under what menu?

-Ken

Re: Bell not working iin bash

Posted: Fri Sep 01, 2023 7:18 pm
by sjsepan2
Ken,
FYI

I did not find Sound in the Preferences menu either, but assuming it was there somewhere, I looked under All instead, and there was a Sound item there. From there the directions worked for me.

ghostbsd-version = 23.08.30

Steve

Re: Bell not working iin bash

Posted: Sat Sep 02, 2023 9:01 am
by ericbsd
My bad I just looked back and it is under Sound & Video.

Re: Bell not working iin bash

Posted: Sat Sep 02, 2023 9:38 am
by Ken E Unix
I have neither of those. I am on 23.08.30. See attachment.

Re: Bell not working iin bash

Posted: Sun Sep 03, 2023 4:33 pm
by sjsepan2
Interesting. I do have Sound & Video, and it is in there too.
I'm running the Mate desktop environment. Please excuse the windowy Chicago theme (assuming the attachment works, which after 5 tries so far it doesn't seem to like it).

Re: Bell not working iin bash

Posted: Mon Sep 04, 2023 8:49 am
by ericbsd
Ken E Unix wrote: Sat Sep 02, 2023 9:38 am I have neither of those. I am on 23.08.30. See attachment.
You are running XFCE. In that case, noting I have might apply.

When XFCE is not mentioned, I assume that it is MATE.

Re: Bell not working iin bash

Posted: Mon Sep 04, 2023 9:46 am
by sjsepan2
Ken E Unix wrote: Sat Sep 02, 2023 9:38 am I have neither of those. I am on 23.08.30. See attachment.
Ken, Does your XFCE menu come back with any utils when you search for 'sound'? (I'm not familiar with the XFCE desktop and the utils installed, so I can't suggest.)
Steve

Re: Bell not working iin bash

Posted: Mon Sep 04, 2023 9:57 am
by sjsepan2
Ken,
This discussion...

https://forum.xfce.org/viewtopic.php?id=5877

...suggests that there may not be as much in the way of sound utils in XFCE, but that right-clicking on the Volume control in the tray (it it is present?) may give you access to some more settings.
Steve
PS -- its an Arch linux forum discussing XFCE, so I don't know if it will help you or not.