How to keep the monitor always on

is there a setting somewhere which will allow the monitor or video to be always on and not go into standby.

In ubuntu it is easy to find, but I can't find where to do what I want on the Pi4

Reply to
Loading thread data ...

On my LXDE/OpenBox Raspbian 9 for RPi3, there isn't an OpenBox gui for that.

This discussion installs xscreensaver & disables it or alternatively mod/s a lightdm config file.

formatting link
Can you disable screen timeout/blanking

Elsewhere I've read of using pm-utils which is in the repos and you can read about in the Arch wiki.

Mike Easter
Reply to
Mike Easter

Thanks for the link, and I edited the lightdm.conf file, then rebooted the pi and the monitor is always on now.

Reply to

Assuming you're using X, and not experimenting with Wayland:

xset -dpms

...does the trick. Note that this *only* disables standby; you'll have to switch the screensaver off as well. I don't know if it affects the various deskop environments' own screensavers, but...

xset s off

...will disable the one built-in to X itself.

Off the top of my head, I don't know if xset is installed by default in Raspbian (it isn't in Arch; xorg-xset is the package there). It's a handy little tool, and the manpage is very helpful.

Duncan Snowden.
Reply to
Duncan Snowden

Hello Rob H and others,

Sat. 26 Oct 2019, 11:30:37, Robh wrote to All:

RH> is there a setting somewhere which will allow the monitor or video to be RH> always on and not go into standby.

RH> In ubuntu it is easy to find, but I can't find where to do what I want RH> on the Pi4

I did it years ago in the following way:

$ sudo cp -av /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak For a backup of the file you are going to edit.

$ sudo nano /etc/lightdm/lightdm.conf Search: #xserver-command = X Change that into: xserver-command = X -s 0 -dpms Then save the edited file, and reboot.

Later on I changed it to: xserver-command = X -s 60 dpms so now it only blanks once an hour.

I also did the following:

sudo nano /usr/share/lightdm/lightdm.conf.d/01_debian.conf At the end of that file, add this line: greeter-setup-script=/usr/bin/numlockx on Save the file and reboot, and your NumLock key should still be on Ofcourse I had to install numLockx first. Because that was also a setting I was missing in the setup config of Raspbian Stretch. For the Raspberry Pi 4B you have to do these changes in Raspbian Buster. But after that your Raspbian Buster (micro-)SDcard works in almost all (old) Pi's, i.e. 1B, 1B+, 2B, Zero(W), 3B, 3B+ and 4B. I never worked with the Zero and smaller A models, but only the more capable B ones, i.e. as desktop machines. I once tested my Eminent EM1010 USB2A to RJ45 Eth module for 10/100 mbps networking on a friends Pi Zero with a micro USB to USB2A cable. Good luck with it.

Greets form Henri.

Reply to
Henri Derksen

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.