[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: beeps and other sounds





On Fri, Oct 18, 2024 at 10:08 PM Timothy M Butterworth <timothy.m.butterworth@gmail.com> wrote:


On Fri, Oct 18, 2024 at 7:10 PM Arbol One <ArbolOne@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.
Thanks in advance.

I googled around and found:

  • tput bel: This command uses the tput utility to send the "bell" control character to the terminal.
  • echo -e "\a": The -e option enables interpretation of backslash escapes, and \a represents the bell character.
  • printf "\a": The printf command works similarly to echo -e "\a".
I tested them with no prevail. 

The beep application seems to be promising, although it is currently giving me an error.

sudo apt install beep

tmb@hp-debian:~$ beep
beep: Error: Could not open any device
 


--
ArbolOne ™
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations.
ArbolOne's development on Java, PostgreSQL, HTML and Jakarta EE is in progress [ í ]


--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply to: