From the command line I can easily create another pulseaudio sink and switch to that but I have not found a way how to do this using a GUI from the Xfce desktop.
In GNOME I use gnome-volume-control from audio settings to switch to another audio output sink.
Is there anything similar in Xfce?
After installing pavucontrol you have graphical access to several useful settings for pulseaudio including a choice for your output device. Choose the default output device in the Output Device tab:
A currently playing stream of a given application can also be moved to another device in the Playback tab from the dropdown menu next to Playback Stream on:
The pavucontrol answer is correct. However I encountered difficulties to use is out of the box. I had to type the following before using pavucontrol to use my bt headphone:
You can control if this was successful by typing:
Output should look similar to:
I also have a short script to move sound from alsa/pulseaudio to bt that I called 'toBt.sh':
To return to alsa/pulseaudio sound I've got 'toAlsa.sh':
Sound Switcher Indicator
While
pavucontrol
provides more differentiated options (default/fallback device versus per-application device), this tool simply changes all the above to one device, but provides easier access. Its unilateral setting can be refined inpavucontrol
if necessary.Testing Xfce panel version 4.12.2: the volume indicator already has that feature. It is a pulseaudio plugin (
xfce4-pulseaudio-plugin
) for the Xfce panel.The output device is listed under the main scroll given more than one sink is available; on mouse hover a list of available output devices is displayed.
So, no external application is needed for the purpose discussed here, although
pavucontrol
may be useful (especially given that Xfce has no specific audio settings like other desktops have).Non-Xfce-specific tools can be also used like
pasystray
(PulseAudio System Tray), as explained here, similar to Sound Switcher Indicator, already mentioned under this question;pasystray
doesn't need a new PPA to be added.I am on Xubuntu and i also faced this problem. I installed pulseaudio's manager and it works fine!
HTH