sudo nano /etc/lightdm/lightdm.conf
找到[SeatDefaults]
段下的xserver-command
,取消注释,修改为如下:
#xserver-command=X
修改为:
xserver-command=X -s 0 -dpms
sudo reboot
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:树莓派禁止屏幕休眠