Page MenuHomeSolus

GNOME Shell/GDM doesn't respect user suspend setting?
Open, LowPublic

Description

I just installed a GNOME Shell ISO spun from -unstable last night.

After logging into the session and turning off the default suspend setting (on, suspend after 20 minutes), I was quite puzzled to see that the system kept suspending.

It turns out that, if I'm not logged into a session, the system unconditionally suspends after 20 minutes with no apparent way for me to turn that setting off?

What gives? I was assuming that, as an administrative account, my GNOME Shell settings would be applied system wide even if the system is just sitting at GDM with no active session?

Guidance welcome.

Event Timeline

ermo renamed this task from GNOME Shell doesn't respect user suspend setting? to GNOME Shell/GDM doesn't respect user suspend setting?.May 19 2023, 8:30 AM

@Harvey pointed me towards https://unix.stackexchange.com/questions/361214/disable-gdm-suspend-on-lock-screen

I've added the file /etc/dconf/db/gdm.d/disable-suspend-on-ac with the following contents:

[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-type='nothing'
power-button-action='interactive'

If this ends up working, I feel like I ought to contribute this tip to the Help Center or something?

ermo triaged this task as Low priority.May 19 2023, 9:22 AM

OK, workaround confirmed working.

Now to get it written up somewhere on the Help Center...