Disabling Screen Sleep on Raspberry Pi

By default the screen goes to sleep after some minutes of inactivity. It can be disabled by editing configuration file. Here is the steps. 1. Open /etc/lightdm/lightdm.conf file. sudo nano /etc/lightdm/lightdm.conf 2. Look for the line starts “xserver-command” under “[Seat:*]” section and modify as below: xserver-command=X -s 0 -dpms 3. Reboot the system. sudo reboot… Continue reading “Disabling Screen Sleep on Raspberry Pi”