Screen blanking issue in raspberry pi solved
by default, the Raspberry Pi Desktop does not have any easy-to-use screensaver software installed, although the screensaver is enabled. Firstly, you should install the X Windows screensaver application. Once this has been installed, you can find the screensaver application under the Preferences option on the main desktop menu. This provides many options for setting up the screensaver, or disabling it completely. sudo apt install xscreensaver go to preferences and select screen saver got o mode and select disable screen saver done now your raspberry pi screen will not go blank