Author: wpadmin
-
Auto-reconnect your Bluetooth speaker on Ubuntu 24.04
changes not made as root: nano ~/bt-reconnect.sh #!/bin/bash DEVICE_MAC=”<YOUR_DEVICE_MAC>” while true; do # Check if the device is connected if !bluetoothctl info “$DEVICE_MAC” | grep -q “Connected: yes”; then echo “Reconnecting to Bluetooth device…” bluetoothctl connect “$DEVICE_MAC” fi sleep 10 done chmod +x ~/bt-reconnect.sh nano ~/.config/systemd/user/bt-reconnect.service [Unit]Description=Auto-reconnect Bluetooth speakerAfter=bluetooth.service [Service] ExecStart=/bin/bash /home/$USER/bt-reconnect.shRestart=alwaysUser=%u [Install]WantedBy=default.target systemctl –user…
-
Connect an Orange pi Zero 3 to a bluetooth speaker on Ubuntu 24.4
First install the necessary software “not” as root: sudo apt install bluez bluez-cups bluez-obexdsudo apt install libspa-0.2-bluetoothsudo apt install pipewire-pulsesudo apt install wireplumbersudo apt install pulseaudio-utils systemctl –user daemon-reloadsystemctl –user –now enable pipewire-pulsesystemctl –user start pipewire-pulse Check the available devices: wpctl statusorpactl list sinks Add the speaker:bluetoothctl scan on trust <device MAC> pair <device MAC>…