Shell/Bash: ubuntu bluetooth not turning on Example


Shell/Bash Example: This is the "ubuntu bluetooth not turning on" Example. compiled from many sources on the internet by

ubuntu bluetooth not turning on

sudo rfkill unblock bluetooth

ubuntu bluetooth not working after suspend

# sudo nano /lib/systemd/system-sleep/bt
# Paste in this script:

case $1 in
    modprobe -r btusb
    sleep 1
    service bluetooth restart
    sleep 1
    modprobe btusb

# An finally make it executable
chmod +x /lib/systemd/system-sleep/bt

* Summary: This "ubuntu bluetooth not turning on" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!