$ sudo vi -p ~/.xinitrc /etc/X11/xinit/xinitrc
xset s off # don't activate screensaver xset -dpms # disable DPMS (Energy Star) features. xset s noblank # don't blank the video device exec /etc/alternatives/x-session-manager # start lxde如果再不行的話就要再lightdm.conf新增一個屬性了
$ sudo vi /etc/lightdm/lightdm.conf
[SeatDefaults] xserver-command=X -s 0 -dpms
reference:
* Disable screen blanking in X-Windows on Raspbian
* How do I prevent the screen from going blank?
沒有留言:
張貼留言