Suppress sleep on linux using dbus inhibitor lock#1137
Merged
pifopi merged 10 commits intoPokemonAutomation:mainfrom Mar 23, 2026
Merged
Suppress sleep on linux using dbus inhibitor lock#1137pifopi merged 10 commits intoPokemonAutomation:mainfrom
pifopi merged 10 commits intoPokemonAutomation:mainfrom
Conversation
Collaborator
Member
|
I'm attempting this fix ConnorC432#1 Should be trivial but let's wait for CI to run before merging ! |
Contributor
Author
|
i have bundled libsdbus-c++ 2.2.1, and managed to build it on ubuntu 24. It just requires the libsystemd-dev package |
Install libsdbus-c++-dev
pifopi
approved these changes
Mar 20, 2026
SerialPrograms/Source/CommonFramework/Environment/SystemSleep_Linux.tpp
Outdated
Show resolved
Hide resolved
This reverts commit 92dacba.
Collaborator
|
Verbally approving for the changes to our code. I'll let pif do the final merge when CI when everything is clear. |
Member
|
All good for me, I already approved! There is a merge conflict though |
Koi-3088
pushed a commit
that referenced
this pull request
Mar 26, 2026
* suppress sleep on linux using dbus inhibitor lock * Install libsdbus-c++-dev * use bundled libsdbus-c++ library * sdbus-c++ overload wrapper * workflow libsystemd-dev * always use bundled sdbus-c++ * Revert "sdbus-c++ overload wrapper" This reverts commit 92dacba. * fix CMakeLists.txt --------- Co-authored-by: pifopi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#535
Sleep controller implementation (3f812f2) for linux that allows for both the screen to be kept on all the time, and for the screen to be turned off while preventing sleep.