Score:0

How to recognize bluetooth keyboard automatically on startup

pe flag

I'm using a USB mount of Ubuntu 20.04, I usually use it on a Windows mini pc. This mini pc only has as interface a bluetooth keyboard with a touchpad.

The bluetooth keyboard is paired with Windows and I don't think it can remain paired with more than one device. Thus, whenever I switch to Ubuntu, I need to plug in a usb-keyboard and then pair again the bluetooth keyboard to Ubuntu.

I wanted to make Ubuntu automatically recognize and pair with this bluetooth keyboard on startup. I think a solution would be to buy a different wireless keyboard, maybe one with a dongle, that can stay always connected to the mini pc. But I really like this keyboard and, if possible, would like to retain it (it fits perfectly in the mold I made for it etc.).

Question

Is it possible to make Ubuntu recognize on startup any bluetooth keyboard that is trying to connect and automatically pair with it, so you can start using the keyboard right away? For example, is there a script that could be run during startup?

flen avatar
pe flag
@Pilot6 interesting! Thanks for the suggestion, I'm checking it right now
I sit in a Tesla and translated this thread with Ai:

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.