Prefer PulseAudio when XF86AudioMute is used for ubuntustudio session

Bug #972781 reported by Janne Jokitalo on 2012-04-03
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-volumed
Undecided
Janne Jokitalo

Bug Description

This is a dead-ringer to https://bugs.launchpad.net/xfce4-volumed/+bug/883485, but this time for Ubuntu Studio.

I have prepared a debdiff for the fix, tested it builds in precise pbuilder, and that the .deb installs.

However, upon closer inspection, the fix in the form of a patch isn't effective, neither in Xubuntu (as original) nor in Studio (with tweaks to correct session). Will work on the issue, but keeping in mind the tight release schedule, no promises can be made.

Janne Jokitalo (astraljava) wrote :

And even more thorough inspection, it actually works. I was just confused because I didn't know that xfconf properties won't be changed after the initial setting, if they still work. When clearing them all, and starting volumed afterwards, it sets a pulse card correctly.

Attaching a patch with the Studio-specific fix.

Changed in xfce4-volumed:
status: New → Fix Committed
assignee: nobody → Janne Jokitalo (astraljava)

 status fixreleased

Changed in xfce4-volumed:
status: Fix Committed → Fix Released
Migo Mueller (migo-mueller) wrote :

Would this same fix also work for https://bugs.launchpad.net/xfce4-volumed/+bug/883485 ? Note that the status of the latter is "Won't fix" (even though it affects 35 people)

Luke Schlather (luke2760) wrote :

I downloaded the source via apt-get source, applied the patch via

wget https://bugs.launchpad.net/xfce4-volumed/+bug/972781/+attachment/3039395/+files/xfce4-volumed_0.1.13-2ubuntu2.debdiff
patch -p1 < xfce4-volumed_0.1.13-2ubuntu2.debdiff

then built via

./configure
make
sudo make install

then killed xfce4-volumed, cleared all my properties, and restarted via

killall xfce4-volumed
for prop in $(xfconf-query -c xfce4-mixer -l); do echo $prop; xfconf-query -c xfce4-mixer -rp $prop; done
xfce4-volumed

I still need to use pacmd set-sink-mute 0 0 to unmute after hitting the mute button. This is on Ubuntu 12.04 Desktop 64-bit . Did I miss something or do we need to look at other options to get this working on Ubuntu?

Marcel Partap (empee584) wrote :

having had the same issue on debian vanilla, and fixed it by manually setting the active card:
# xfconf-query -c xfce4-mixer -p /active-card -s PlaybackBuiltinAudioAnalogStereoPulseAudioMixer
This approach
++ if ((xubuntu_session || studio_session) && pulse_name == NULL) {
surely is somewhat hackish to say the least...^^

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Patches