Op zaterdag 9 maart 2024, schreef Gianluca Interlandi via tde-users:
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.
The method I currently use, does at least remove most of the buttons from the
logout menu. But running devuan does carry the risk of having to deal with
traditional tools not being updated due to systemd probably.
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.
Nvidia does come with woes nowadays. Usually I get an error about
nvidia-persistenced. It fails to start and clutters my apt/dpkg output. But
as it doesn't run anyway and video works as expected, I have no troubles
doing: apt purge nvidia-persistenced, as root.
Rody
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.
-----------------------------------------------------
____________________________________________________
tde-users mailing list -- users(a)trinitydesktop.org
To unsubscribe send an email to users-leave(a)trinitydesktop.org
Web mail archive available at
https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt
op.org