Disable Screensaver on CentOS 8

Here are a couple of tricks that worked in the past. I don’t think they work now, so this is just a placeholder to remind me to follow up at a later time.

# Disable screensaver
vim /etc/X11/xorg.conf
### add these lines ###
Section "ServerFlags"
    Option    "blank time" "0"
    Option    "standby time" "0"
    Option    "suspend time" "0"
    Option    "off time" "0"
EndSection

OR

vim /etc/X11/xorg.conf.d/screensaver
### add this line ###
Option "DPMS"  off
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *