On Thu, 2022-02-17 at 17:39 -0800, Mike Wright wrote:
> There is a java app that writes directly to the pulseaudio MASTER 
> channel at full volume twice a day.  I'm pretty sure the neighbors
> hear it.  My idea is to use crontab to run at 12:59 Monday-
> Friday.  It waits 59 seconds, mutes the audio, waits 6 more seconds
> and unmutes the audio.
>  From the command line it works.  I can't make it work using
> crontab. 
> It does show up in the syslog.

Is the offending app run in your name, are you logged in all the time? 
If so, perhaps running your mute function as a personal cron item
rather than a system one.

I think any muting would have to be done as the same user as the app.

I presume you can't fix the app, perhaps you can nobble it.  Can you
replace the sound file it plays?  Perhaps you can ban it from
pulseaudio.

-- 
 
uname -rsvp
Linux 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to