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: 560     Votes:  2 
Tags: suspend   screen  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1000745
Title: Prevent a Workstation Screen from dimming
ID: /2018/01/28/Prevent-a-Workstation-Screen-from-dimming
Created: January 28, 2018    Edited:  January 28, 2018
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Terminal CLI method

OP requests a CLI (Command Line Interface) methodology.

For battery timeout:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <time_in_seconds>

For AC timeout:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <time_in_seconds>

So for both Battery and A/C set the time to 0 (never).

For Login screen:

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
⇧ How do I get the stamina/speed switch working on my laptop? KASLR disabled: could not find suitable E820 region!  ⇩