On Tue, Feb 18, 2025 at 7:07 AM Patrick Dupre via users
<users@lists.fedoraproject.org> wrote:
>
> Hello,
>
> Does something change since the last update of fedora 40?
>
> I have a laptop running applications from itself or/and from ssh.
>
> Now it falls to sleep after a few minutes despite that I have
>
> org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
> org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend'
> org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900
> org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend'
>
> Screen blank is set a 5 mn.
>
> Do you have an explanaton?

As Michael said, a change to power management was made at Fedora 40.
See <https://pagure.io/fedora-workstation/issue/360>.

Michael also provided changes for systemd-sleep.conf(5). I prefer to
mask the services:

    sudo systemctl mask sleep.target suspend.target hibernate.target
hybrid-sleep.target

You can also change the default target to multi-user, and that
disables sleep and hibernation. But it is a server setting, and the
target disables the desktop stuff:

    systemctl set-default multi-user.target

Jeff
-- 
_______________________________________________
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