Skip to content

Suppress sleep on linux using dbus inhibitor lock#1137

Open
ConnorC432 wants to merge 6 commits intoPokemonAutomation:mainfrom
ConnorC432:sleep
Open

Suppress sleep on linux using dbus inhibitor lock#1137
ConnorC432 wants to merge 6 commits intoPokemonAutomation:mainfrom
ConnorC432:sleep

Conversation

@ConnorC432
Copy link

#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.

@Mysticial
Copy link
Collaborator

Thank you for doing this!

This looks fine. I just need to figure out the Linux CI for this. (and get someone to test it) It looks like we need to install the sdbus package.

Lemme ask @pifopi and @Koi-3088 since they know the CI better than me.

@pifopi
Copy link
Member

pifopi commented Mar 20, 2026

I'm attempting this fix ConnorC432#1 Should be trivial but let's wait for CI to run before merging !

@ConnorC432
Copy link
Author

i have bundled libsdbus-c++ 2.2.1, and managed to build it on ubuntu 24. It just requires the libsystemd-dev package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants