fixed issue of paired devices not being remembered after reboot

This commit is contained in:
Alexander Bocken 2020-04-21 20:58:39 +02:00
parent 0ab6023614
commit f69ddc7bca
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,12 @@
# bthandler # bthandler
A simple interactive tool to connect to already paired devices, pair new ones, toggle basic settings for bluetooth devices via dmenu A simple interactive tool to connect to already paired devices, pair new ones, toggle basic settings for bluetooth devices via dmenu
If you ahve issues with your already paired devices not staying paired after reboots
```bash
chmod -R a+rwx /var/lib/bluetooth
```
might be a bit of a brute force way to solve the issue. [stackexchange thread about it](https://raspberrypi.stackexchange.com/questions/43648/bluetooth-devices-list-not-being-remembered-on-reboot)
# Installation # Installation
Edit the Makefile to reflect your preffered installation destination. Then, simply make install Edit the Makefile to reflect your preffered installation destination. Then, simply make install

View File

@ -19,8 +19,7 @@ cleanup(){
rm -f /tmp/paired_devices rm -f /tmp/paired_devices
rm -f /tmp/new_devices rm -f /tmp/new_devices
rm -f /tmp/disp_devices rm -f /tmp/disp_devices
bluetoothctl scan off bluetoothctl scan off 2> /dev/null
bluetoothctl exit
exit exit
} }