How do I tell mobian "don't try to autosuspend for next 8 hours" or better "don't try to autosuspend until kernel build is finished"? Unix was not expecting sleepy computers...
Follow

@pavel

gnome-session-inhibit --reason "Building kernel" --inhibit suspend bash -c "sleep 100"

@agx Thank you, gnome-session-inhibit does the trick. ... once user is logged in on the console. One day we'll need an API to do that regardless of desktop environment.
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml