You are not logged in.
If the sound is muted then it remains muted until pavucontrol or alsamixer (or `amixer`) is used -- the mute key does not toggle the setting.
This is a known issue.
I've fixed this in my system by adding this stanza to the keybinds section of ~/.config/openbox/rc.xml
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set -D pulse Master toggle</command>
</action>
</keybind>
Perhaps this should be added to the stock rc.xml?
Offline
If the sound is muted then it remains muted until pavucontrol or alsamixer (or `amixer`) is used -- the mute key does not toggle the setting.
No, that's not what happens for me. I mute sound either with my keyboard mute button or volti>right-click>quiet, and unmuting it shows that sound is back because alsa has been unmuted. But there is no sound, because pulseaudio is still muted and remains that way until I open pavucontrol, navigate to the Output tab and unmute it there.
I believe this is the (awfully titled) bug, with many workarounds that don't work...
https://bugs.launchpad.net/xfce4-volumed/+bug/883485
It was because of the Ubuntu fix reported in that bug that we backported xfce4-volumed and added it to our repo. Installing that package WFM, but I still get screwy behavior like pavucontrol's output getting stuck on, crap I can't remember, Analog Sound, so I lose sound if I plug in or unplug headphones since it doesn't switch to Headphones or Internal speaker.
I'm on my new Bunsen install now but I'll have to install pulseaudio again to test your workaround (removing it is the simplest fix for me.) I'll post back in a bit.
I don't care what you do at home. Would you care to explain?
Offline
Confirmed that I can also unmute via alsamixer.
I don't care what you do at home. Would you care to explain?
Offline
I mute sound either with my keyboard mute button or volti>right-click>quiet, and unmuting it shows that sound is back because alsa has been unmuted. But there is no sound, because pulseaudio is still muted and remains that way until I open pavucontrol, navigate to the Output tab and unmute it there.
This is the behaviour I observe -- the notification and icon show the sound as un-muted but `alsamixer` shows it as muted (and it is).
The `amixer` command triggers the notification *and* toggles the setting.
Offline
I figured I was just repeating what you said in a different way.
Hey, that rc.xml command WFM, nice brother! Sadly, it doesn't help if you're using Volti>right-click>(un)Mute.
I must be mis-understanding amixer, I'm running it in a terminal and I just get...
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 19193 [29%] [off]
Front Right: Playback 19193 [29%] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 10386 [16%] [on]
Front Right: Capture 10386 [16%] [on]
I don't care what you do at home. Would you care to explain?
Offline
'man amixer' isn't enlightening me.
I don't care what you do at home. Would you care to explain?
Offline
I must be mis-understanding amixer
Yeah, the syntax is a b*tch
Just running `amixer` with no arguments lists the current setting.
Look at the "Examples" section of amixer(1)
Offline
Bugger, the volume up/down keybinds don't work now
Had to add these as well:
<keybind key="XF86AudioRaise">
<action name="Execute">
<command>amixer set -D pulse Master 5%+</command>
</action>
</keybind>
<keybind key="XF86AudioLower">
<action name="Execute">
<command>amixer set -D pulse Master 5%-</command>
</action>
</keybind>
Offline
They still work for me, but unmuting via Volti isn't effected, as I said, though Volti does give proper visual feedback for the multimedia keys.
I don't care what you do at home. Would you care to explain?
Offline