Force the screen to stay on
sudo nano /etc/lightdm/lightdm.conf
Add the following lines to the [SeatDefaults] section:
# don't sleep the screen
xserver-command=X -s 0 dpms
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.
4 years ago
This worked, thanks :)
7 years ago
Thank you, my Pi 3 now doesn´t go off when i streaming Games :)
8 years ago
Thanks so much
8 years ago
Perfect.. I appreciate the info!
9 years ago
in the chromium os for raspberry how i can make the same?
10 years ago
The easiest way to disable screen blanking in the Raspbian GUI is to install xscreensaver then configure it to disable:
sudo apt-get update
sudo apt-get install xscreensaver
Found on https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=57552
9 years ago
Thanks a a lot. I tried all of things have failed. But, this is working correctly.
8 years ago
This was by far the easiest solution. Thanks. Managed to get the dashboards setup for https://www.rixxo.com/ in our office without the screen going black every few minutes
4 years ago
Worked!
4 years ago
This was just the fix I needed. Thanks!
4 years ago
thanks a lot im running kali linux soo crap needs to stay open this has been very helpful
4 years ago
still works
4 years ago
Super helpful for a newbie like me. Dakboard family screen now displaying continuously. Thanks!
4 years ago
I did this and it installed the screensaver but when I click on preferences/ screensaver it just instantly flashes something on the screen for a fraction of a second and then goes away. I’m running Raspbian on pi 4b – Any suggestions?
4 years ago
Have rebooted everything and it is working now – thanks
3 years ago
Doesn’t work!
10 years ago
I know this is old, but this didn’t work for me at first either. Make sure that what you add/edit comes after [SeatDefaults] and I think the correct command is xserver-command=X -s 0 -dpms (notice the ‘-‘ before dpms)
4 years ago
this step use but screen few second go to sleep what to do?
any one help me pls………..
4 years ago
Nice one! Thank you