Views:
568
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:
September 15, 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