On Fri, 24 Jan 2025, e...@gmx.us wrote: > On 1/24/25 09:47, Greg Wooledge wrote: > > > 2) At least one of my environment variables is required: > > > > So then the question is *which* environment variable it is. I would > > suspect it's one of the XDG_ variables, > > I did it the other way, by seeing which I remove to make the audio stop > working. Probably easier in case there were more than one. Anyhow my > testing shows the critical variable to be XDG_RUNTIME_DIR .
I found that XDG_RUNTIME_DIR is necessary but not sufficient. I added XDG_RUNTIME_DIR="/run/user/$(id -u)" to my personal crontab, but this did not solve the problem. I added export XDG_RUNTIME_DIR="/run/user/$(id -u)" to bark.sh, but this also failed to solve the problem. Roger