-
Notifications
You must be signed in to change notification settings - Fork 19
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
We found a error with SoX, did you install it? #5
Comments
I get the same error, but experience no issues. However I'm using a python3 version I hacked together. https://askubuntu.com/questions/290099/how-to-run-a-script-during-boot-as-root Also consider if you're using xinitrc, you could have it start at login and have your polkit(lxpolkit I'm guessing) prompt you after login - to avoid potential issues. A line at the end of your .bashrc running a script would be the best solution imo. (this app allows for multiple instances, so you should do > grep process; sudo linux-clicky &) I would take this route to save yourself a headache. |
Ive encountered this error as well. A manual test confirms that the play command does not work with sudo or su. It seems to me to be related, that if you run as a non-root user, you cannot let root play sounds, as described here; https://superuser.com/questions/756334/pulseaudio-no-sound-after-su-to-root-no-default-audio-device-configured So I think it only works if your program gets privileges as non-root user, or you ensure sox works under root |
Solved with |
Under Openbox in pclos, in lxterminal running bash as root, I just get this error message for every key:
We found a error with SoX, did you install it?
Python, sox and sox-devel are installed.
Question: If I can get this working, can I get it to run automatically in any login terminal or tty?
The text was updated successfully, but these errors were encountered: