From f69ddc7bca6fbb2e3f770981508c6db6951aa2ff Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 21 Apr 2020 20:58:39 +0200 Subject: [PATCH] fixed issue of paired devices not being remembered after reboot --- README.md | 7 +++++++ bthandler | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ea4f51..ebe5049 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # bthandler 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 Edit the Makefile to reflect your preffered installation destination. Then, simply make install diff --git a/bthandler b/bthandler index 54a647e..e692da3 100755 --- a/bthandler +++ b/bthandler @@ -19,8 +19,7 @@ cleanup(){ rm -f /tmp/paired_devices rm -f /tmp/new_devices rm -f /tmp/disp_devices - bluetoothctl scan off - bluetoothctl exit + bluetoothctl scan off 2> /dev/null exit }