20
Inhibit sleep when running stuff in the terminal. Thoughts?
(discuss.kde.org)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities [email protected]
I use
gnome-session-inhibit
quite a bit, but it's hard to imagine a good way to automate it.Sometimes I inhibit
idle
to keep something on screen, and sometimes I just inhibitsuspend
so something can complete.It probably doesn't make sense for the terminal to have anything more than a protocol to control it. The only real benefit to that would be in remote sessions, and it's not really clear how it should work when multiple machines are involved.