Skip to content

Instantly share code, notes, and snippets.

@oviniciusfeitosa
Last active March 13, 2021 13:23
Show Gist options
  • Save oviniciusfeitosa/d02a39bf4cada2f09ea5569cb097dde3 to your computer and use it in GitHub Desktop.
Save oviniciusfeitosa/d02a39bf4cada2f09ea5569cb097dde3 to your computer and use it in GitHub Desktop.
Install bluez-firmware
# if you canno't install bluez-firmware
#
# Add the line below to ```/etc/apt/sources.list```
#
# deb http://ftp.de.debian.org/debian jessie main non-free
#sudo add-apt-repository ppa:snappy-dev/image
#sudo apt-get update
#sudo apt-get install bluez-firmware
sudo curl http://ftp.br.debian.org/debian/pool/non-free/b/bluez-firmware/bluez-firmware_1.2-3_all.deb > bluez-firmware.deb
sudo dpkg -i bluez-firmware.deb
apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol
service bluetooth restart
killall pulseaudio
apt-get install blueman
#edit /var/lib/gdm3/.config/pulse/client.conf
autospawn = no
daemon-binary = /bin/true
#add this to /etc/pulse/default.pa
load-module module-switch-on-connect
#Add this to /var/lib/gdm3/.config/pulse/default.pa
#!/usr/bin/pulseaudio -nF
#
# load system wide configuration
.include /etc/pulse/default.pa
### unload driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
unload-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
unload-module module-bluetooth-discover
.endif
https://wiki.debian.org/BluetoothUser/a2dp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment