On Tue, Mar 14, 2023 at 5:23 PM Tomasz Torcz <tomek(a)pipebreaker.pl> wrote:
On Tue, Mar 14, 2023 at 05:10:49PM +0000, Peter Robinson wrote:
> On Tue, Mar 14, 2023 at 4:14 PM Kamil Paral <kparal(a)redhat.com> wrote:
> >
> > GNOME developers enabled auto-suspend by default, even when on AC power, after
15 minutes of inactivity. I just tested that this will also affect Fedora Server, if you
install GNOME packages manually, and boot into the graphical.target. I don't know how
rare or common this scenario is, but I want to highlight this change. If Server WG thinks
this is a problematic change for the Fedora Server user base, please start making noise
about it now, because we're only 1 month from F38 Final release :-)
>
> Is there a way to disable this functionality on the cli, I've noticed
> this on some of my test devices which I deal with remotely,. even
> Workstation arm devices I don't want to do this.
I think this should work; for checking current settings:
# sudo -u gdm gsettings get org.gnome.settings-daemon.plugins.power
sleep-inactive-ac-type
'suspend'
To disable:
sudo -u gdm gsettings set org.gnome.settings-daemon.plugins.power
sleep-inactive-ac-type 'nothing'
Is there a way to do that from a cli without the need of a Xserver?