In your pulse configuration file (normally called 'default.pa', look up for the 'load-module module-card-restore', uncomment it if it's commented, add a blank space and include 'restore_bluetooth_profile=true'. On Mon, Jan 18, 2021 at 6:00 AM Uwe Sauter via arch-general < arch-general@lists.archlinux.org> wrote:
Unfortunately, configuring
/etc/pulse/default.pa load-module module-bluetooth-policy auto_switch=2
has no effect on both PCs I tried. It seems that the browsers I'm using (Firefox & Opera) don't request an input stream which might trigger the BT profile change but iterate over existing devices, thus they don't see any input.
I'd really prefer a static configuration…
Regards,
Uwe
I think auto-switching might not be so bad if it works as advertised.
With regards to your static configuration, pulse seems to remember your
Am 13.01.21 um 10:34 schrieb Ben Oliver via arch-general: preferences pretty well.
I just ran youtube over my headphones and mpv over my speakers. (used
pavucontrol to set it up)
Disconnected the headphones, everything went to speakers.
Reconnected the headphones, only youtube went back to them. mpv stayed
on the speakers as before.
In this scenario, perhaps auto switching would work for you since your
speakers should remain unaffected.