On Tue, 3 Aug 2021, William Morder via tde-users wrote:
On Tuesday 03 August 2021 22:50:59 Gianluca Interlandi wrote:
systemctl --user mask sleep.target suspend.target
I am running Devuan Beowulf: no systemd, only init on my system. As there is no systemd, there also seems to be no systemctl. I searched apt for the package, and it only brings up systemd, so it must depend on systemd or be part of that package.
I would suggest switching to runlevel 3 as I mentioned in my first e-mail. To do this, logout from your desktop, then either log in as root in a konsole (Ctrl+Alt+F2) or remotely from another machine and enter:
telinit 3
You can set this permanently in /etc/inittab (this is in openSUSE, not sure in your distribution).
Then, you can login as user from a konsole and enter
startx
You may first have to set the SUID bit for /usr/bin/Xorg (as root):
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.
Gianluca
Incidentally, why not disable it system-wide? As I am the only user, and I generally leave my desktop running for long-term tasks, it would seem preferable to me that it is disabled system-wide.
What puzzles me most is the fact that I keep setting it to disable hibernate/sleep/standby, etc., and it works for awhile, then gets reset; yet I haven't changed anything in these settings, and never touch them -- except of course that this problem keeps recurring.
Bill ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------