Re: Aplay problem -

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

 



On 5/31/20 6:22 PM, Bob Goodwin wrote:


On 2020-05-31 20:38, Samuel Sieb wrote:
On 5/31/20 5:01 PM, Bob Goodwin wrote:
I found this script in a list on my computer, ran it and found I had no way to stop it. What shuts it off?

while [ 1 <> 0 ]
do
aplay /usr/share/sounds/purple/login.wav
done

It's an infinite loop.  Repeatedly pressing CTRL-C should stop it or else killing the bash process from another terminal.
____________

Well Control C is one of the first things I try, perhaps I should have kept trying longer? When I found no remedy in my notes I was beaten and had to reboot.

You have to hit it fast enough in a row that you kill the aplay and then the bash script before it starts another one. The easier method is to just kill the bash script from another terminal. Sometimes another option is to use ^Z or kill -STOP the process to give you time to catch it.

However aplay will not work after that episode. I can see the audio signal with the pulseaudio meter bar and Thunderbird still signals received mail via aplay, but other things where I used it produce no sound in the loudspeaker. Aplay in a terminal produces no sound, so I guess the loop still runs and audio is being muted from it. Nothing I tried in PAvolume restored it, I will try anything suggested now.

If you rebooted, then the runaway script is gone and won't be affecting anything. I'm confused how you say some things can run aplay and make audio, but you can't run it directly.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux