Are you using a DE?
There are different ways to do this but I think you could use systemctl to mask those options
If you are using GNOME you can try running
and perhaps that will have a permanent effect.
It is possible that your DE is resetting settings when you log out, and there is an option to save those settings for future sessions.
There are different ways to do this but I think you could use systemctl to mask those options
Code:
# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Code:
$ gsettings set org.gnome.settings-daemon.plugins.power active false
It is possible that your DE is resetting settings when you log out, and there is an option to save those settings for future sessions.
Statistics: Posted by bbbhltz — 2024-08-25 21:40