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

2021-05-04 Thread Christian Groessler

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



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

2021-05-03 Thread Floris Renaud

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



how to prevent sleeping when sitting at the login screen?

2021-05-03 Thread Christian Groessler

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