Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sox not play sound with cronie #105

Closed
superiums opened this issue Mar 22, 2022 · 4 comments
Closed

sox not play sound with cronie #105

superiums opened this issue Mar 22, 2022 · 4 comments
Labels

Comments

@superiums
Copy link

I have this command in my task.sh

play -q "mysound.ogg" &

it use sox to play a sound. it works alonely will, but in cronie it not play.
i've tried to set env DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus', but not help.


cronie 1.5.7
in Arch

@t8m t8m added the question label Mar 22, 2022
@t8m
Copy link
Member

t8m commented Mar 22, 2022

This can have various reasons. One being file system namespacing so the cronie spawned process does not see the right files/sockets.

@superiums
Copy link
Author

is there any way to tell the system namespacing to recognize my file ?

@t8m
Copy link
Member

t8m commented Mar 23, 2022

I'd suggest you to try to find help in other forums such as for pulseaudio users or others. This is really not a cronie related issue but rather an issue of trying to use the sound subsystem on linux from a different login session than the current one.

@superiums
Copy link
Author

superiums commented Mar 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants