Package Details: pulseaudio-ctl 1.68-1

Git Clone URL: (read-only, click to copy)
Package Base: pulseaudio-ctl
Description: Control pulseaudio volume from the shell or mapped to keyboard shortcuts.
Upstream URL:
Licenses: MIT
Conflicts: pulseaudio_ctl
Replaces: pulseaudio_ctl
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 194
Popularity: 1.67
First Submitted: 2013-10-11 23:09
Last Updated: 2020-10-06 15:04

Latest Comments

1 2 3 4 5 6 ... Next › Last »

th0rne commented on 2020-10-06 09:22

Quick and dirty fix for people using pulse 13:

sed -i 's/# stop if the above failed.*/PCV=2/' /bin/pulseaudio-ctl

nipsky commented on 2020-10-06 08:11

Hmm, maybe quick and dirty via

LANG=en_EN pactl --version | grep Linked | sed -e 's/^Linked with libpulse //' -e 's/([0-9.]+).([0-9.]+)$/\1/'
in this case? ;)

kode54 commented on 2020-10-06 08:09

Meh, I should have figured there would be problems like that. At least the "libpulse" part can be part of the filter. Not sure what else would work. This thing is being installed on systems that are likely to have bleeding edge, but is still carrying the baggage of backwards compatibility going back nearly a decade.

nipsky commented on 2020-10-06 08:06

This runs into trouble when you’re using a non-english system, for example, in German pactl --version returns this, making the grep fail:

pactl 13.99.2-7-g610179
Kompiliert mit libpulse 13.99.0
Gelinkt mit libpulse 13.99.0

graysky commented on 2020-08-20 10:41

@kode54 - Ah, I am not using [testing]. I will see.

kode54 commented on 2020-08-18 00:26

@graysky - Without the advised changes, the script dies with this error here:

$ pulseaudio-ctl mute
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Cannot determine which version of pactl is installed. Aborting.

Because the PAVERSION it determines from my install of pulseaudio looks like this:

$ pactl --version | grep pactl | sed -e 's/^pactl //' -e 's/\([0-9.]\+\).\([0-9.]\+\)$/\1/'

Ah, of course, it would be helpful to note that I have the testing repos enabled, therefore I'm a frequent early victim of update decisions.

graysky commented on 2020-08-17 09:56

@kode54 - Why though?

kode54 commented on 2020-08-16 22:41

@graysky - And I wasn't aware of any Arch Linux users using pulseaudio older than 13. Perhaps this can be a patch against the AUR version, then.

graysky commented on 2020-08-16 10:04

@kode54 - But grepping for 'Linked' should fail to return values for users of older versions, no? The only function PAVERSION serves is to set an internal expectation for further commands...

kode54 commented on 2020-08-16 00:02

It should be changed now to:

PAVERSION=$(pactl --version | grep Linked | sed -e 's/^Linked with libpulse //' -e 's/\([0-9.]\+\).\([0-9.]\+\)$/\1/')