Shell/Bash: ubuntu bluetooth not turning on Example

By

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

ubuntu bluetooth not turning on

sudo rfkill unblock bluetooth

ubuntu bluetooth not working after suspend

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

case $1 in
  post)
    modprobe -r btusb
    sleep 1
    service bluetooth restart
    sleep 1
    modprobe btusb
    ;;
esac

# 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!

Others