intgr / gnome-bluetooth-quick-connect

Allow to connect bluetooth paired devices from gnome control panel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Requirements

  • bluez (on ubuntu: sudo apt install bluez)

Installation from extensions.gnome.org

https://extensions.gnome.org/extension/1401/bluetooth-quick-connect/

Installation from source code

git clone https://github.com/bjarosze/gnome-bluetooth-quick-connect
cd gnome-bluetooth-quick-connect
make
rm -rf ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
mkdir -p ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
cp -r * ~/.local/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com

Troubleshooting

Connecting and disconnecting does not work

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.

Paired devices

bluetoothctl -- paired-devices

Connecting

bluetoothctl -- connect <mac address>

Disconnecting

bluetoothctl -- disconnect <mac address>

Reconnecting

bluetoothctl -- disconnect <mac> && bluetoothctl -- connect <mac>

Reconnecting does not work

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

About

Allow to connect bluetooth paired devices from gnome control panel.

License:GNU General Public License v3.0


Languages

Language:JavaScript 96.2%Language:Shell 2.4%Language:Makefile 1.4%