Den 2023-08-21 kl. 03:09, skrev Michael D. Setzer II via users:


Question. Just looked at the sleep.conf file on my machine and all
the commented lines (all) seem to show the default as =yes, so I
assuming that you mean to uncomment the lines and change =yes
to =no??

Check the file on my Fedora 37 and it also shows most of same
options?

[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=120min


What I understand this shows the standard value of this parameters.
There for you need to uncomment "Allow*" and change "yes" to "no".
This works for me. I also do:

sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0

since I am running Gnome.


--
Regards

Jon Ingason

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to