Comment 27 for bug 1208204

Revision history for this message
pqwoerituytrueiwoq (pqwoerituytrueiwoq) wrote : Re: indicator-sound no longer functions with xfce4-indicator-plugin

Without comment #5 i would not have this possible fix
Possible solution:
Replace the Exec= line in /usr/share/dbus-1/services/indicator-sound.service with this line
Exec=/bin/sh -c 'if [ -n "$(pidof xfce4-session)" ]; then /usr/lib/indicator-sound-gtk2/indicator-sound-service;else /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service;fi'

This will make the change only affect the XFCE desktop environment so it will not effect the Unity/KDE/Gnome/Lubuntu DEs for example