Categories
Linux Technology

Preventing Fedora 38 Gnome Suspend

After upgrading to Fedora 38, anyone using Gnome desktop will likely experience a system suspend after about 10 – 15 minutes. This is due to some new make the world a better place policy but for those of us using Gnome on a server environment, it’s a new surprise. Imagine running a server with Gnome and VirtualBox then upgrading from 36 to 38 oh and let’s add on upgrading from VirtualBox 6 to 7. After rebooting the server, wow everything works great, VMs are up and running. Too good to be true right? Yeah just wait 15 minutes for your server to go sleepy sleep.

So what’s the deal? Well there’s a new power management suspend timeout when you run the Gnome desktop. Trying to make changes on the GUI power management section has no effective results. We must drop to command line.

Run this command to check the current settings.


sudo -u gdm dbus-run-session gsettings list-recursively org.gnome.settings-daemon.plugins.power | grep sleep
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 900
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'

And now, this is how you can disable the suspend feature.


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

One reply on “Preventing Fedora 38 Gnome Suspend”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.