Prevent going to sleep
If GDM3 is used, edit:
<Code:bash |/etc/gdm3/greeter.dconf-defaults>
# 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=1200 # - What to do after sleep-inactive-ac-timeout # 'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 'nothing' # sleep-inactive-ac-type='suspend' sleep-inactive-ac-type='nothing' # - As above but when on battery # sleep-inactive-battery-timeout=1200 # sleep-inactive-battery-type='suspend' sleep-inactive-battery-type='nothing' </Code>