重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
系统 ——首选项——屏幕保护程序
站在用户的角度思考问题,与客户深入沟通,找到玉山网站设计与玉山网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:网站建设、网站制作、企业官网、英文网站、手机端网站、网站推广、域名与空间、网站空间、企业邮箱。业务覆盖玉山地区。
把屏保勾掉,电池管理可以让机器常亮,对照这个操作
关闭电脑休眠功能
先找到文件/etc/systemd/logind.conf进行编辑:
sudo vi /etc/systemd/logind.conf
找到下列条目
#HandleLidSwitch=suspend
改成如下
HandleLidSwitch=ignore
保存退出,重启系统
首先要解释下DPMS的意思,dpms可以认为是一个显示能源管理系统,一般用于计算机功耗的管理。
在linux中有几个选项:
To control Energy Star (DPMS) features:
-dpms Energy Star features off 关闭节能模式
+dpms Energy Star features on 打开节能模式
dpms [standby [suspend [off]]]
force standby 强制待机
force suspend 强制休眠
force off 强制关闭屏幕
force on 打开节能模式
(also implicitly enables DPMS features)
a timeout value of zero disables the mode(测试系统 red flag linux)
standby 待机
suspend 休眠
off 关闭屏幕
xset的意思是xwindow设置
linux关闭显示器命令:xset dpms force off
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/win"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "GSM"
ModelName " Plus"
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
一步一步的往下干.