I just installed elementary OS 5.1. I'd like to know how to set the laptop to not go into sleep mode and not ask for the password every time.
I did go into power control and set everything for never, however it still goes into sleep mode.
I just installed elementary OS 5.1. I'd like to know how to set the laptop to not go into sleep mode and not ask for the password every time.
I did go into power control and set everything for never, however it still goes into sleep mode.
$ gsettings get apps.light-locker lock-on-suspend
If true
: The screen will be locked when the computer goes to sleep
If false
: Screen will not be locked when computer goes to sleep
$ gsettings set apps.light-locker lock-on-suspend 'true'
$ gsettings set apps.light-locker lock-on-suspend 'false'
# AC Mode
gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type
# Battery Mode
gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type
# AC mode
$ gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout
#Battery Mode
$ gsettings get org.gnome.settings-daemon.plugins.power sleep-battery-ac-timeout
# DO NOTHING
# AC Mode
gsettings ste org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
# Battery Mode
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing
# DISABLE TIMEOUT
# AC mode
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
#Battery Mode
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-battery-ac-timeout 0