Make UI react to device configuration changes done via CLI
Created by: stlhrt
Information
- Solaar version : 1.0.7
- Distribution: Mint & Pop!_OS
- Kernel version : 5.4.0 & 5.13.0
- Output of
solaar show
for the target device (if applicable): N/A
Is your feature request related to a problem? Please describe. Configuration changes done via CLI are not visible on the UI until restart.
Describe the solution you'd like I think the simplest way would be to dispatch D-Bus event when changing some setting with CLI with device and setting changed information. UI could then just query device for that setting state.
Edit: The solution in PR #1499 is to use the facilities of GTK application to send an event from solaar config to the Solaar UI.