packages icon indicating copy to clipboard operation
packages copied to clipboard

GNOME Shell/GDM doesn't respect user suspend setting? (T10537)

Open celticmagic opened this issue 2 years ago • 2 comments

Rune Morling (@ermo), 2023-05-19 08:29:43 UTC

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.

celticmagic avatar Aug 16 '23 20:08 celticmagic

Rune Morling (@ermo), 2023-05-19 09:18:46 UTC

@HarveyDevel 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?

celticmagic avatar Aug 16 '23 20:08 celticmagic

Rune Morling (@ermo), 2023-05-19 11:13:46 UTC

OK, workaround confirmed working.

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

celticmagic avatar Aug 16 '23 20:08 celticmagic