-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
pactl: Older versions of pactl do not have get-sink-* commands #390
Comments
Older versions of pactl, like the one shipped by Debian Bullseye, do not provide the get-* commands, like get-sink-volume or get-sink-mute. Work around them by relying on `pactl list` and `pactl info` only. This commit increases code complexity significantly and reimplementing pactl-logic in lua impairs performance compared to a modern pactl, where this workaround would not be needed. Fixes issue streetturtle#390.
I have implemented a first proof-of-concept that would avoid calling the corresponding commands above. Comments are welcome. |
Older versions of pactl, like the one shipped by Debian Bullseye, do not provide the get-* commands, like get-sink-volume or get-sink-mute. Work around them by providing a wrapper script for pactl that provides those commands. Fixes issue streetturtle#390.
I have pushed another approach through a wrapper script. The advantage of this approach is that it only fixes the issue for those with an old pactl. Newer versions of pactl will be shipped moderately soon, so this wrapper script as a temporary measure seems to be reasonable. Comments are welcome. |
The pactl-widget uses pactl commands get-sink-{volume,mute}, which are not provided by older pactl version, like the one in current Debian bullseye.
pactl list
orpactl list sinks
could be alternatives.The text was updated successfully, but these errors were encountered: