The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 213β€…    Votes:  0β€…    βœ… Solution
Tags: suspend   power-management  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

Title: Why does my laptop suspend after 5 minutes?
ID: /2016/11/16/Why-does-my-laptop-suspend-after-5-minutes_
Created: November 16, 2016
Upload: December 3, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

You mentioned you checked the power options screen so I’ll put add this one even though I don’t think it is effecting you, but which you can check nonethelesss:

enter image description here

The only thing I can think of now are gnome settings which you can force off via the terminal:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing

The value of 0 seconds on lines 1 and 3 turns the function off. The nothing feature on lines 2 and 4 are like hitting it was a hammer twice.

If problem persists there are other things in systemd to look at such as xautolock but the steps above are the most obvious ones to try first.

⇧ GNU grub menu takes too long to boot I am trying to create an alias to run an application. Is there away to bypass creating an alias just to change directories?  β‡©