[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to prevent sleeping when sitting at the login screen?



On 5/3/21 7:57 PM, Floris Renaud wrote:
Christian Groessler schreef op 2021-05-03 19:19:
Hi,

where is the setting where one can disable sleeping when the computer
is at the login prompt?

I found the setting for my user, and for root, but not for "login screen".

I'm using gdm3.

regards,
chris

You can find these options in /etc/gdm3/greeter.dconf-defaults

For example:

...
# Automatic suspend
# =================
[org/gnome/settings-daemon/plugins/power]
# - Time inactive in seconds before suspending with AC power
#   1200=20 minutes, 0=never
sleep-inactive-ac-timeout=0
# - What to do after sleep-inactive-ac-timeout
#   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 'nothing'
sleep-inactive-ac-type='nothing'
# - As above but when on battery
# sleep-inactive-battery-timeout=1200
# sleep-inactive-battery-type='suspend'

---
Floris


Thanks! Changing that file worked.

regards,
chris


Reply to: