Skip to content

Instantly share code, notes, and snippets.

@tonylambiris
Last active May 31, 2018 01:10
Show Gist options
  • Select an option

  • Save tonylambiris/ad43f00941ed8033c5b16d6cc561346b to your computer and use it in GitHub Desktop.

Select an option

Save tonylambiris/ad43f00941ed8033c5b16d6cc561346b to your computer and use it in GitHub Desktop.
Fix bluetooth with pulse audio under gdm
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