Home >Operation and Maintenance >CentOS >How to set the monitor not to sleep in centos system

How to set the monitor not to sleep in centos system

王林
王林Original
2020-03-27 17:14:345056browse

How to set the monitor not to sleep in centos system

centos method to prevent the display from sleeping:

#  setterm -blank 0
#  setterm -blank n (n为等待时间)

How to set the monitor not to sleep in centos system

(Recommended tutorial: centos tutorial )

You can also edit xorg.conf and add the following options to close xscreen saver directly.

Section “ServerFlags”
   Option “BlankTime” “0″    #关闭黑屏
   Option “StandbyTime” “0″   #关闭待机功能
   Option “SuspendTime” “0″   #关闭睡眠功能
   Option “OffTime” “0″
EndSection

After modification, restart the system to take effect.

The above is the detailed content of How to set the monitor not to sleep in centos system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn