Created
December 26, 2020 00:07
-
-
Save willnss/585c6cf6958956ad409248a39eff5d99 to your computer and use it in GitHub Desktop.
Remove idle sleep on gdm through ssh after an inactive period
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# access machinectl as gdm and change the timeout | |
sudo machinectl shell gdm@ /bin/bash | |
export GSETTINGS_BACKEND=dconf | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0 | |
# restart gdm | |
systemctl restart gdm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment