You are not logged in.
I switched over to Pulseaudio and would like to have my keyboard vol up, vol down, mute control Pulseaudio volume.
I used to have:
-- Multimedia
awful.key({ }, "XF86AudioRaiseVolume", function ()
awful.util.spawn("amixer set Master 9%+", false) end),
awful.key({ }, "XF86AudioLowerVolume", function ()
awful.util.spawn("amixer set Master 9%-", false) end),
awful.key({ }, "XF86AudioMute", function ()
awful.util.spawn("amixer set Master toggle", false) end),I tried:
-- Multimedia
awful.key({ }, "XF86AudioRaiseVolume", function ()
awful.util.spawn("pactl set-sink-volume 0 +5%", false) end),
awful.key({ }, "XF86AudioLowerVolume", function ()
awful.util.spawn("pactl set-sink-volume 0 -- -5%", false) end),
awful.key({ }, "XF86AudioMute", function ()
awful.util.spawn("pactl set-sink-mute 0 toggle", false) end),(and also with "exec" in front of each "pactl" command), but with no success.
Suggestions?
Last edited by emacsomancer (2014-10-13 10:55:05)
Offline
Dunno about that specific implementations, but I wrote a script for this purpose. Look in the AUR for pulseaudio-ctrl and see if it meets your needez.
Offline
Thanks.
For some reason it's not actually affecting the HDMI output volume to my monitor.
I can see it's correctly adjusting the "Pulseaudio" device in Alsamixer, but that doesn't seem to affect the actual output. So I suppose this is no longer a question about mapping multikeys, but I'm confused as to what's going on.
Offline
Nevermind - I figured it out. I needed to set a different default sink.
Offline