On Sat, 9 Mar 2024, Rody via tde-users wrote:
Hi,
Is there a way to remove the sleep, suspend, hybernate, sleep and combos from
the logout menu within Trinity?
I am not familiar with Devuan. My recommendation is to remove them from
the system. In openSUSE, which uses systemd (you would need to find the
equivalent for your system), there is a file:
/etc/systemd/sleep.conf
where different options for sleep (hibernate, suspend, etc.) can be set or
disabled. You may find something similar in your system that does not use
systemd.
However, after I updated to Trinity 14.1.1, the logout
menu has now
added a freeze option.
"freeze" is the equivalent of s2idle. It is purely driven by software and
allows you to put your system into a lower power mode:
https://www.kernel.org/doc/Documentation/power/states.txt
State: Suspend-To-Idle
ACPI state: S0
Label: "s2idle" ("freeze")
This state is a generic, pure software, light-weight, system sleep state.
It allows more energy to be saved relative to runtime idle by freezing
user space and putting all I/O devices into low-power states (possibly
lower-power than available at run time), such that the processors can
spend more time in their idle states.
This state can be used for platforms without Power-On
Suspend/Suspend-to-RAM support, or it can be used in addition to
Suspend-to-RAM to provide reduced resume latency. It is always supported.
I'm running Trinity on Devuan 4, so no systemd
here.
Personal curiosity: Does anybody know how well Devuan plays with NVIDIA
video cards and the proprietary NVIDIA driver? I have had difficulties
resuming from hibernate and suspend on a systemd system after installing
the proprietary NVIDIA driver, which installs also several sleep/resume
scripts.
Gianluca
-----------------------------------------------------
Gianluca Interlandi, PhD gianluca(a)u.washington.edu
+1 (206) 685 4435
http://gianluca.today/
Department of Bioengineering
University of Washington, Seattle WA U.S.A.
-----------------------------------------------------