Package Details: pulseaudio-ctl 1.70-2

Git Clone URL: https://aur.archlinux.org/pulseaudio-ctl.git (read-only, click to copy)
Package Base: pulseaudio-ctl
Description: Control pulseaudio volume from the shell or mapped to keyboard shortcuts.
Upstream URL: https://github.com/graysky2/pulseaudio-ctl
Licenses: MIT
Conflicts: pulseaudio_ctl
Replaces: pulseaudio_ctl
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 197
Popularity: 0.78
First Submitted: 2013-10-11 23:09 (UTC)
Last Updated: 2024-08-03 18:11 (UTC)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »

graysky commented on 2013-10-12 14:08 (UTC)

Cool thanks. I also verified running with [testing] enabled.

WOFall commented on 2013-10-12 13:32 (UTC)

No problems with this one! Thanks.

graysky commented on 2013-10-12 09:11 (UTC)

@WOFall - OK. I think I got it. Please try version 1.30-1 of pulseaudio-ctl and note that if you run it from the shell with no args, it should read out current vol level and mute status. % pulseaudio-ctl /usr/bin/pulseaudio-ctl {up,down,mute} Where up and down adjust volume in ±5 % increments. Where mute toggles the mute status on/off. Volume level : 95 % Is sink muted : no

WOFall commented on 2013-10-12 00:05 (UTC)

Indeed it's field 5, to be precise. It's fiddly stuff ;)

WOFall commented on 2013-10-11 23:59 (UTC)

On testing, the volume% is field 4, and when you select field 3 you get an absolute value from 0-65535 instead. So it doesn't work yet.

graysky commented on 2013-10-11 23:16 (UTC)

@WOFall - Thank you. I have merged the three scripts into a single one that also incorporates your backwards-compatible fix in a new package (https://aur.archlinux.org/packages/pulseaudio-ctl/). Would you mind verifying compatibility with the new PA as you have done for me here? I have also requested a merge of pulseaudio_ctl --> pulseaudio-ctl to keep the AUR clean. Thanks again for your kind attention and troubleshooting.

WOFall commented on 2013-10-11 22:58 (UTC)

I guess the muted status is on an earlier line in the pacmd output now. If you just want a quick backwards-compatible fix, you can add the following line to the end of mute_toggle: [[ "$mute" == "request:" ]] && pactl set-sink-mute "$sink" toggle > /dev/null 2>&1

graysky commented on 2013-10-11 22:39 (UTC)

Yeah, I just caught the 100 %/0 % cap. Fixing now. What's wrong with mute? Works for me...?

WOFall commented on 2013-10-11 22:33 (UTC)

vol_up and vol_down are working fine now. It doesn't cap at 100%, but I guess this is pulseaudio's choice. mute_toggle will also need fixing - I've never actually used it before, so sorry I didn't notice it was broken too.