I got a clue somewhere to look in
Settings / Settings Editor (not the normal Settings Manager)
Then, under xfce4-mixer
, there was the setting /active-card
which had the value:
PlaybackHighDefinitionAudioControllerDigitalStereoHDMIPulseAudioMixer
I selected 'active-card', and hit the 'Reset Property' button. That turned the setting into:
PlaybackBuiltinAudioAnalogStereoPulseAudioMixer
( These names closely follow the names of the Output Devices in pavucontrol
see screenshot )
After a reboot, it worked. My volume buttons now affect the volume in the speakers.
(Scrub my earlier, now deleted, hint/comment about Play/Pause not working. They (still) work fine in Rhythmbox - that was/is an unrelated problem with gmusicbrowser
)
This may or may not work for you! :-)
EDIT: For some reason, my xfce profile got corrupted and I've restarted from scratch by rm -rf ~/.config
. Now, only a few days later, resetting it didn't work for me either, but setting /active-card
to PlaybackBuiltinAudioAnalogStereoPulseAudioMixer
did.
EDIT: If the above did not work try setting this via terminal and xfconf, e.g.
xfconf-query -c xfce4-mixer -p /active-card -s 'PlaybackBuiltinAudioAnalogStereoPulseAudioMixer'
By running dconf-editor from the dconf-tools we may incorporate an MPRIS complatible media player application to the sound menu with the key "com.canonical.indicator.sound.interested-media-players".
In the example here test
was included which points to a test.desktop
file in ~/.local/share/applications
where we can run our appplication from the Exec=
field. Restart your session to take effect.
As an entry in this menu is closely related to a media player, application control is done by DBus session bus com.canonical.indicator.sound. This is why we will not be able to re-run a script until a reset of the indicator was done. I succeeded to restart the test application after performing Shutdown() on the org/ayatana/indicator/service object but this is quite a hack and definitely not the way the indicator sound menu should be used.
It may however point to the right direction. i.e. we need to make use of DBus for our script or application we want to reside in the sound indicator menu.
Best Answer
Try to re-configure it if already installed
Open terminal and execute these commands:
Logout/restart your system and check whether you get the sound indicator
If above doesn't help then try to re-install
indicator-sound
by executing this command:Again logout/restart your system.
Reply if you get any error at any particular command with the error message.