Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Siglo daemon
The daemon is driven by a d-bus service and is as such init system agnostic. It currently implements:
Notably the daemon currently does not handle Firmware updates, although that would certainly be possible. I didn't want to make this PR even larger, so for now the flashing is still handled by the gui application.
Problems
Warning messages clutter stderr, they are only present when access to the entire session bus is granted and they seem to be associated with file manipulations. But I don't know anything further.
Testing and Feedback
To make the testing a little bit easier, I pushed the daemon on my testing branch as well, with a slightly modified manifest so that you can install everything like this:
You can use notify-send to simulate an incoming sms for testing like this:
All MPRIS compliant music players should work.
The daemon interface has a Quit() method you can call using d-feet, should the daemon get stuck. Or just kill it using htop.
You can also run the daemon manually to capture it's output with
flatpak run com.github.alexr4535.siglo --daemon
Be aware that if you already installed Siglo on that device in the past, the sandbox permissions might not be up to date. Check with Flatseal that Siglo has access to the entire session bus and permission to run in the background.
I hope, that even when this doesn't make it into the project, which I understand considering the size of this PR, that I could at least inspire some further development on Siglo.