4 ms·
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
by okdjnfweonfe 5y 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/eonpatapon/gnome-shell-extension-caffeine
https://github.com/coadmunkee/gnome-shell-extension-espresso https://github.com/coadmunkee/gnome-shell-extension-espresso
Or via api, which everything leads to
https://people.gnome.org/~mccann/gnome-session/docs/gnome-session.html#org.gnome.SessionManager.Inhibit 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
- mnahkies 5y agoHuh, nice. Feel a bit silly that I didn't find those extensions in my googling prior to making this