This repo is no longer maintained. Check here for new version: https://github.com/Extensions-Valhalla/gnome-bluetooth-quick-connect
This extension allows paired Bluetooth devices to be connected and disconnected via the GNOME system menu, without need to enter the Settings app every time.
- bluez (on ubuntu:
sudo apt install bluez
)
https://extensions.gnome.org/extension/1401/bluetooth-quick-connect/
git clone https://github.com/bjarosze/gnome-bluetooth-quick-connect
cd gnome-bluetooth-quick-connect
make install
Headset battery (currently) requires enabling experimental features in bluez. See #42 for more details.
This extensions calls bluetoothctl
under the hood. If something does not work
you can try to execute bluetoothctl
command in terminal and see what is wrong.
bluetoothctl -- paired-devices
bluetoothctl -- connect <mac address>
bluetoothctl -- disconnect <mac address>
bluetoothctl -- disconnect <mac> && sleep 7 && bluetoothctl -- connect <mac>
Not sure why, but sometimes bluetoothctl does not want to connect device after it was disconnected. Reinstalling bluez and rebooting system helped on my ubuntu.
$ sudo apt purge bluez gnome-bluetooth pulseaudio-module-bluetooth
$ sudo apt install bluez gnome-bluetooth pulseaudio-module-bluetooth