I have tried this with Ubuntu 22.10 and 23.10.
The output of uname -a
is
Linux linuxwkstation 6.6.16-060616-generic #202402051536 SMP PREEMPT_DYNAMIC
Mon Feb 5 21:11:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I am running on a MacMini 2014.
I went through many StackExchange posts and other sources to get bluetooth to work correctly. Hit and miss, as well as unreliable. Too many hours spent without result. The headphone sometimes worked or iPhone could not connect, etc.
I migrated to the latest kernel 6.6.16 - the latest Ubuntu is behind 6.5.0-10.10. The big difference is the improvements made in respect to bluetooth in 6.6.0 onwards.
Now, if I switch on my Bose headset it connects immediately, and I can conference or listen to music, as well as switch devices via the bluetooth utility.