Have you tried any of this?
https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/
You may try:
systemctl --user mask sleep.target suspend.target
so that you do not disable it systemwide. It sounds like you only need to
do it for suspend/sleep, not necessarily for hibernate. Remember to
restart systemd. If that fails, try systemwide (without "--user"). If all
fails, your safe bet option is to switch to runlevel 3 and then start X
from the command line with `startx`. For the latter you will have to set
the SUID bit for /usr/bin/Xorg:
chmod u+s /usr/bin/Xorg
See:
https://www.x.org/wiki/FAQMiscellaneous/
You will also need to set the WINDOWMANAGER environment variable to point
to TDE.
Let us know what works.
Gianluca
On Tue, 3 Aug 2021, William Morder via tde-users wrote:
Okay, so riddle me this. I have totally disabled power management for my
system, created a user profile, made it the same as my default profile so
that it ought to be the only profile that loads. (I do this through the
Trinity Control Center / System Administration / Monitor & Display / Power
Managment.)
Yet my system still goes into hibernate mode (or so I believe) after it has
been left unattended (that is, no direct actions involving myself).
This is a desktop system, built by myself out of parts, but I am running
Devuan Beowulf and the most recent upgrade from the PTB repository. I don't
need to use power management, since there is no battery to worry about.
This annoys me on a daily basis, because I get up in the morning (about noon
or so), and find that it has gone into hibernate mode, despite the fact that
I have left some large downloads unattended, trusting that they could be left
to manage themselves. The power light blinks, the monitor has been shut off,
etc.; and when I press the power button, it springs back to life, except that
I have been disconnected and whatever I have left running has been
interrupted only partially finished.
It used to be I could create a profile, set it to run as the default, and
everything would be fine. But now it always goes into hibernate mode, no
matter what I do. I have also tried to create the profile in administrator
mode, but the result is always the same.
Any clues about what is wrong here? Thanks for any help!
Bill
____________________________________________________
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…
-----------------------------------------------------
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.
-----------------------------------------------------