Score:1

run a script every time a bluetooth device get connected

ph flag

Every time my bluetooth keyboard connects to my desktop, the system turns on the num-lock. How can I run a script every time a bluetooth device get connected?

This way I could

#!/bin/bash    
sleep 0.01 
numlockx off
return 0

and stop thinking to this issue.

Thank you.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.