ubuntu20.04 在X11界面 10分钟后自动关闭屏幕问题
ubunt20.04的xorg配置文件,位于
代码: 全选
/usr/share/X11/xorg.conf.d/
目录下,里面有好几个配置文件,可以自己新建一个文件,名字参考其他几个文件取,例如:10-monitor.conf 。文件内容(eDP-1是屏对应的显示器名字,Monitor这个Section不加,也不影响)
Section "Monitor"
Identifier "eDP-1"
Option "DPMS" "false"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection