The reason this is such an issue is that the mouse also refuses to reconnect automatically.There is obviously some other process creating the disconnect coincidence though, but it works every time I do the following:Connect BT mouseOpen IceweaselWithout using the mouse (it is not moving from this point) open a new tab and go to youtube.comAs soon as loaded, try using the mouse and it will be disconnectedOf course the mouse also disconnects at other points but it was uncanny how the above also forces a disconnect. I added it in case someone knows of some connection that could help solve the problem.I have of course tried a number of other fixes... I even have a script I have set up to reconnect the mouse when it disconnects (as it will not reconnect using the Gnome-Settings bluetooth window).Finding one of the similar issues online here I did set the timeout to 0 which did in fact work the best of all the solutions so far. I was able to leave the mouse alone and come back and it will still be connected but after following the steps above it would still disconnect and then go back to the timeout disconnect until restarting the bluetooth service again.Every disconnect is visible in my logs as:bluetoothd[19123]: g_attrib_unregister: invalid idbut it is very often after one of the following:dleyna-server-service[20572]: dLeyna: Exitor while I was using Iceweasel (I've moved to Chrome for the time being):iceweasel.desktop[19712]: Custom widget with id loop-button does not return a valid nodeGoing back to the inability to reconnect, after the mouse disconnects (it's the Razer Orochi if that makes a difference) I cannot just reconnect even if I try force it in the normal GUI based bluetooth settings. I found out the only way it reconnects is through bluetoothctl. While in the bluetoothctl prompt a simple reconnect works but after many variations, the below seems to be the only script that will work in the same way:#!/bin/bashecho 'power on\npair D1:A8:11:CC:DB:9A' | bluetoothctlsleep 1echo 'trust D1:A8:11:CC:DB:9A' | bluetoothctlsleep 1echo 'connect D1:A8:11:CC:DB:9A' | bluetoothctlSo yes, that's my predicament... I'm hoping someone might see something here that will lead to the solution but of course feel free to ask for more info and let me know how to get it for you.
Bluetooth mouse disconnect when Iceweasel loads YouTube... but also does not reconnect
debian;mouse;bluetooth