Repository navigation
Show Bluetooth pairing codes in the Omarchy panel - #9965
Zhaoyikaiii wants to merge 1 commit into
Conversation
|
One lifecycle edge is worth covering in this replacement agent: a registered Agent1 object becomes stale when I reproduced this on an M1 MacBook Air with BlueZ 5.87. The agent process registered at 09:10:14, BlueZ restarted at 09:37:56, and the unchanged agent process remained active while subsequent pairing logged From the current diff, |
|
Thanks for this. I hit the same problem pairing a Logitech MX Mechanical (#8485), and before finding this PR I put together a smaller, opt-in variant: https://github.com/GruperTal/omarchy/tree/bluetooth-pairing-prompt
It's about 200 lines for the agent, compared with the full panel integration here. Would an opt-in approach like this be useful, either alongside this PR or as a first step? If it is, I'm happy to open it as a PR or fold parts into this one. If this PR is the preferred direction, I'll leave it here. |
Thanks for putting this together, @GruperTal. I'm happy to go with your smaller, opt-in approach as a first step. Keeping the default behavior unchanged and reusing the existing notification/menu UI makes sense to me. |
|
+1 on this, still an issue. PR author is waiting for a reviewer/maintainer to opinate on whether to take their proposal or @GruperTal's. I still didn't have time to review any of the implementations, so I couldn't even give my own take on this. |
|
Cross-project integration request for this existing fix (not a competing PR): AyushKr2003/omacale#33. Omacale renders its own Bluetooth settings/popout but dispatches Omarchy's Please expose pairing authentication through a shell-wide prompt/notification or a documented request/response interface that third-party bars can consume, or document the required integration. Desired check: an Omacale user can see the six-digit code, type it on a BLE HID keyboard and press Enter, and receive success/failure/cancel feedback without switching bars or opening a terminal. Hardware control case: a Logitech Pebble Keys 2 K380s on Intel AX211 paired with an interactive The full sanitized evidence is being added to #8485. Thank you for keeping this existing fix as the place to coordinate the agent work. |
Summary
bt-agentprocess with a BlueZorg.bluez.Agent1service using the existingpython-gobjectbase dependencybluez-toolspackage dependencyFixes #8485
Related to #9676
Testing
bash test/shell