您的位置:首页 > 博客中心 > 网络系统 >

Linux 命令整理

时间:2022-04-03 14:17

一、centos7  命令整理

1、CentOS关闭休眠和屏保模式
方法一:
#xset s 300      #设置屏保时间为300秒,时间单位为秒 
#xset s 0        #关闭屏幕保护 
#xset dpms 0 0 0 # 三个数值分别为Standby、Suspend、Off,单位秒 
#xset -dpms      #关闭电源管理
方法二:
vim /etc/X11/xorg.conf
Section “ServerFlags” 
Option “BlankTime” “0″ #关闭黑屏 
Option “StandbyTime” “0″ #关闭待机功能 
Option “SuspendTime” “0″ #关闭睡眠功能 
Option “OffTime” “0″ 
EndSection
-------------------------------------------------------------------------------------------

 

热门排行

今日推荐

热门手游