public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stephen Gallagher <sgallagh@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Server: disable auto-suspend when on AC power
Date: Mon, 10 Aug 2026 09:36:04 GMT [thread overview]
Message-ID: <178635456450.1.11345517708816506457.rpms-fedora-release-6f94a4dbbc29@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : 6f94a4dbbc29d2725f60d0f844530a63f4122999
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2023-03-14T13:46:47-04:00
Stats : +5/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/6f94a4dbbc29d2725f60d0f844530a63f4122999?branch=f45
Log:
Server: disable auto-suspend when on AC power
A recent change to GNOME changed the default for GNOME sessions
(including GDM) to automatically suspend after fifteen minutes, even
when connected to AC. This patch adds an override so that if the
installed system was Fedora Server Edition, it restores the previous
behavior of disabling auto-suspend on AC power.
[1] https://src.fedoraproject.org/rpms/gnome-settings-daemon/c/c8f9665aca0617a921ec308a0f1d2741d92dc41d?branch=rawhide
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/fedora-release.spec b/fedora-release.spec
index c17a28e..df48d04 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -107,6 +107,7 @@ Source25: plasma-desktop.conf
Source26: 80-kde.preset
Source27: 81-desktop.preset
Source28: longer-default-shutdown-timeout.conf
+Source29: org.gnome.settings-daemon.plugins.power.gschema.override
BuildArch: noarch
@@ -1267,6 +1268,7 @@ sed -i -e "s|(%{release_name}%{?prerelease})|(Server Edition%{?prerelease})|g" %
sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Server/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.server
sed -i -e "/^DEFAULT_HOSTNAME=/d" %{buildroot}%{_prefix}/lib/os-release.server
install -Dm0644 %{SOURCE14} -t %{buildroot}%{_prefix}/lib/systemd/system-preset/
+install -Dm0644 %{SOURCE29} -t %{buildroot}%{_datadir}/glib-2.0/schemas/
%endif
%if %{with silverblue}
@@ -1585,6 +1587,7 @@ ln -s --relative %{buildroot}%{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swid
%{_prefix}/lib/os-release.server
%{_prefix}/lib/systemd/system-preset/80-server.preset
%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.server
+%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.override
%endif
diff --git a/org.gnome.settings-daemon.plugins.power.gschema.override b/org.gnome.settings-daemon.plugins.power.gschema.override
new file mode 100644
index 0000000..c6b28c1
--- /dev/null
+++ b/org.gnome.settings-daemon.plugins.power.gschema.override
@@ -0,0 +1,2 @@
+[org.gnome.settings-daemon.plugins.power]
+sleep-inactive-ac-timeout=0
reply other threads:[~2026-08-10 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178635456450.1.11345517708816506457.rpms-fedora-release-6f94a4dbbc29@fedoraproject.org \
--to=sgallagh@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox