I have a bluetooth headset and I need to execute a .sh file everytime I connect it to make it work. I don't want to troubleshoot this bug since I know there's already people looking into it.But I'm interested on a way to run that .sh script every time I connect a bluetooth device. And, if it's possible, every time I connect a headset/this specific headset.
How to automatically run a script when I connect a bluetooth device?
scripting