Last active
May 31, 2018 01:10
-
-
Save tonylambiris/ad43f00941ed8033c5b16d6cc561346b to your computer and use it in GitHub Desktop.
Fix bluetooth with pulse audio under gdm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat <<-EOT | sudo tee /var/lib/gdm/.config/pulse/client.conf | |
| autospawn = no | |
| daemon-binary = /bin/true | |
| EOT | |
| sudo chown gdm: /var/lib/gdm/.config/pulse/client.conf | |
| sudo sed -i '/load-module module-switch-on-port-available/a load-module module-switch-on-connect' /etc/pulse/default.pa | |
| sudo sed -i -re 's/#AutoEnable=.*/AutoEnable=true/g' /etc/bluetooth/main.conf | |
| sudo systemctl restart bluetooth.service gdm.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment