The machine is suspended after inactivity even if a package update is in progress

Back in the day, on a laptop running EndeavorOS. during a package update, the machine was suspended after the default 20 minutes of inactivity, even though there was a running process, which was quite annoying. Is this a natural issue?

Operating systems that perform package updates while the system is running are broken by design, which is why GNOME only supports offline updates. But you can make it less broken by taking a suspend inhibitor using the org.freedesktop.ScreenSaver D-Bus API, which will tell all major desktops not to suspend. The user will be given a choice to ignore the inhibitor and suspend anyway, but at least that would fix the problem with inactivity.

Thanks for the reply. I also thought a screensaver should be used. Would Gnome Screensaver be suitable for this purpose?
https://wiki.gnome.org/action/show/Attic/GnomeScreensaver?action=show&redirect=Projects%2FGnomeScreensaver

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.