You might want to make this adjustment.to survive updates, probably put a copy of that .conf file under /etc/pipewire or ~/.config/pipewire.
Bluetooth headphones: Is it possible for audio output to switch automatically on connection? [Solved]
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
@davemx I requested this mod for future updates / versions and dolphin_oracle mentioned this...
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
In my current setup, the automatic change to Bluetooth sound output doesn't work any more, it's back to having to do it manually from the Volume control icon in the system tray. One little thing though, and I'm not sure whether this is a relevant change or whether I didn't notice it last time. But the section of the file pipewire-pulse.conf which contains the line that should ensure the switch is automatic, is now headed context.exec and not content.exec ???
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
oh oh.davemx wrote: Wed Jan 17, 2024 5:35 pm In my current setup, the automatic change to Bluetooth sound output doesn't work any more, it's back to having to do it manually from the Volume control icon in the system tray. One little thing though, and I'm not sure whether this is a relevant change or whether I didn't notice it last time. But the section of the file pipewire-pulse.conf which contains the line that should ensure the switch is automatic, is now headed context.exec and not content.exec ???
Yes, mine says:
Code: Select all
context.exec = [
{ path = "pactl" args = "load-module module-switch-on-connect" }
#{ path = "pactl" args = "load-module module-always-sink" }
#{ path = "pactl" args = "upload-sample my-sample.wav my-sample" }
#{ path = "/usr/bin/sh" args = "~/.config/pipewire/default.pw" }
]
Code: Select all
~/.config/pipewire/pipewire-pulse.conf
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
Now that is the strangest thing. I've changed nothing since I wrote yesterday, there have been no updates, and now it's working!!
I'm a bit nervous about copying the file to /etc/pipewire/ or ~/.config/pipewire/ because if another, necessary, change was made to the file at /usr/share/pipewire it might prevent that change being effective.
I'm a bit nervous about copying the file to /etc/pipewire/ or ~/.config/pipewire/ because if another, necessary, change was made to the file at /usr/share/pipewire it might prevent that change being effective.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
Yeah, that is always my concern too. As for working / not working.. all I can say is that I have found pipewire to be in some ways better than pulse... and in some ways pulse is better. Flaky are both at times - at least on my machines, with pulse seeming to be less flaky for me (on mx21 !)davemx wrote: Thu Jan 18, 2024 12:07 pm Now that is the strangest thing. I've changed nothing since I wrote yesterday, there have been no updates, and now it's working!!
I'm a bit nervous about copying the file to /etc/pipewire/ or ~/.config/pipewire/ because if another, necessary, change was made to the file at /usr/share/pipewire it might prevent that change being effective.
However, I am right now trying to record some old tapes off of cassette and have found that on four machines, ( 2 mx21 and 2 mx 23 machines) I cannot get stable recording - however, one machine running mx23 it works perfectly. ( well... almost perfectly. I cannot hear what i am recording and have to do it blind and then go back and edit. ) And all three of my MX 23 machines are *the same load* too.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Bluetooth headphones: Is it possible for audio output to switch automatically on connection?
Now it's not automatically switching! Very strange!CharlesV wrote: Thu Jan 18, 2024 12:45 pm
Yeah, that is always my concern too. As for working / not working.. all I can say is that I have found pipewire to be in some ways better than pulse... and in some ways pulse is better. Flaky are both at times - at least on my machines, with pulse seeming to be less flaky for me (on mx21 !)
However, I am right now trying to record some old tapes off of cassette and have found that on four machines, ( 2 mx21 and 2 mx 23 machines) I cannot get stable recording - however, one machine running mx23 it works perfectly. ( well... almost perfectly. I cannot hear what i am recording and have to do it blind and then go back and edit. ) And all three of my MX 23 machines are *the same load* too.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190