Hacker News new | ask | show | jobs
by okdjnfweonfe 1651 days ago
Sorry to be rude-ish

Probably should be able to do the same with just:

    systemd-inhibit --what=idle --mode=block sh -c read
or the more easier ways

https://github.com/eonpatapon/gnome-shell-extension-caffeine https://github.com/coadmunkee/gnome-shell-extension-espresso

Or via api, which everything leads to

https://people.gnome.org/~mccann/gnome-session/docs/gnome-se...

Noting other apps generally will inhibit via stuff sent through X/Wayland afaik, so this doesn't cover all methods

1 comments

Huh, nice. Feel a bit silly that I didn't find those extensions in my googling prior to making this