You are not logged in.
I was wondering if there was a way to immediately run an application after establishing a connection to a specific Bluetooth device.
For example, I have a DualShock 4, and there's an application out there that lets you customize the LED and use the touchpad to control the mouse. I would like it if this application would run as soon as I am connected to this controller. I don't want it to run when I establish a connection to just any Bluetooth device.
Does anybody know of a way I can do this? I'd rather not use cron, since it's a bit slow and this is something that only needs to happen once.
If it matters, I'm using KDE.
Last edited by schmidtbag (2015-02-28 18:50:48)
Offline
Try writing a udev rule.
https://wiki.archlinux.org/index.php/Udev
http://www.reactivated.net/writing_udev … ternal-run
Jin, Jîyan, Azadî
Offline
hmm good idea. Unfortunately the software doesn't seem like being run after the connection is already established, but that's the software's fault (not udev's). It's open source so maybe if I really feel like it I can try modifying it.
Thanks for the tip.
Offline