TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: HENRI DERKSEN
date: 2019-10-27 16:08:00
subject: Re: How to keep the monit

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.

--- WimpLink 1.05p
* Origin: This machine has no brain, use your own. (2:280/1208.1)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.