ponymix | CLI volume control for PulseAudio | Command Line Interface library
kandi X-RAY | ponymix Summary
kandi X-RAY | ponymix Summary
Ponymix is a command line mixer for PulseAudio.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ponymix
ponymix Key Features
ponymix Examples and Code Snippets
Community Discussions
Trending Discussions on ponymix
QUESTION
I have a script that prints my volume status. It checks the output of pactl subscribe
to determine when something has changed. Currently I'm doing this with a while loop, and after the script has been running for a certain period of time (I can replicate quickly by holding a key to toggle mute for about a minute), the only output is "/usr/bin/grep: Argument list too long"
I've tried using < <(pactl subscribe)
, piping into the while loop, and also reading from a fifo. None of these work. Is this expected? If so, what would be the way to handle something like pactl subscribe
that prints infinite output? Since the first error mentioned ponymix, I thought it might be an issue there, but using pamixer instead fixes nothing either.
The full script is here. Here is a relevant excerpt:
...ANSWER
Answered 2019-Jul-19 at 00:33The issue is that inside the print_volume
function, I was repeatedly sourcing a file with export
s in it. As pointed out by Charles Duffy, this caused the environment size to be too large.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ponymix
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page