If you have been working pi for a long time and are irritated by the screen going blank after 10 mins, here are a few solutions for you.
Solution 1
Edit the lightdm.conf file and change to settings directly. this does not require installing anything and the screen won’t turn off again. Fire the following command to open the file in edit mode.
sudo nano /etc/lightdm/lightdm.conf
Look for the line, should be around line number 87
#xserver-command=X
and change it to
xserver-command=X -s 0 dpms
Press Ctrl +X save the document and reboot the raspberry pi.
Solution 2
Install XScreenSaver package from apt using the following command
sudo apt install xscreensaver
Once the installation is done, got to
Main Menu > Preferences > Screensaver
Open the application change the settings as you want.