Pulse Audio don't get unmuted when XF86AudioMute is used
Bug #883485 reported by
Eric
This bug affects 64 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Volumed |
Won't Fix
|
Undecided
|
Unassigned | ||
xfce4-volumed (Debian) |
New
|
Undecided
|
Unassigned | ||
xfce4-volumed (Ubuntu) |
Fix Released
|
Undecided
|
Lionel Le Folgoc |
Bug Description
Using the XF86AudioMute media key alsa toggles mute properly and the OSD correctly shows alsa's status, however pulse audio gets turned off but never re-enabled when mute is toggled. The only way to re-enable pulse audio (and sound) is to click on the Unmute button in the sound indicator icon or use "pactl set-sink-mute 0 0" or "pactl set-sink-mute 1 0", etc depending on the card that's supposed to be in. Attached is a simple script that will toggle mute for pulse audio (for all sound cards). This bug appears on 2 different laptops, both running Xubuntu 11.10.
Related branches
Changed in xfce4-volumed (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Lionel Le Folgoc (mrpouit) |
no longer affects: | xubuntu-desktop |
To post a comment you must log in.
The problem is that xfce volume control unmutes alsa master, but not the pulseaudio master.
I guess it's due to the wrong default settings of alsa or the xfce volume control. A workaround that didn't involve running scripts and worked for me was to
1. create /etc/asound.conf with
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
And then to add a keyboard shortcut (via settings -> keyboard)
XF86AudioMute -> amixer set Master toggle