On Friday 02 October 2020 19:48:34 andy pugh wrote:

> On Thu, 1 Oct 2020 at 05:47, Gene Heskett <[email protected]> wrote:
> > 1. The existing as installed screen blanker logs me out in 5 minutes
>
> It's 10 minutes. Not that that is any better.
> The automatic lock is a truly terrible thing for those of us with no
> keyboard in the same building as the CNC machine.
>
> The auto-lock is "light-locker"
>
> I have not worked out exactly what is doing the blanking, it seems
> that is it both DMPS _and_ the screensaver, but that the screensaver
> defaults to blanking as no actual screensaver is installed.
>
> The fix seems to be to create a file in etc/X11/xorg.conf.d (I called
> it 10-monintor.conf) containing
>
I called mine 10=monitor.conf, had to make Xorg.conf.d, ahh you used 
lowercase, but its not working. I changed the Xorg.conf.d to xorg.conf.d 
but its made no diff, I am still looking at the color cycling screen in 
10 minutes.

What else did you do? I still see 4 copies of light-locker in an htop 
report. ack the log, that file is not being read, so

>From the Xorg.0.log:
[24.179] (==) Using system config directory /usr/share/X11/xorg.conf.d
So I'm going put that file there and reboot.
And its being read. from the Xorg.0.log:
[    24.733] (**) Option "BlankTime" "0"
[    24.733] (**) Option "StandbyTime" "0"
[    24.733] (**) Option "SuspendTime" "0"
[    24.733] (**) Option "OffTime" "0"
which is the same as if it was in /etc/X11/xorg.conf but with your 
additions before and after that stanza.
then about a screen later:
[    24.846] (**) Extension "DPMS" is disabled
but a second+ later:
[    25.150] (==) intel(0): DPMS enabled
[    25.150] (==) intel(0): Display hotplug detection enabled
[    25.151] (II) intel(0): [XvMC] i915_xvmc driver initialized.
[    25.151] (II) intel(0): [DRI2] Setup complete
so something else is turning it back on. But its not in that directory:
gene@lathe:/usr/share/X11/xorg.conf.d$ grep DPMS *
10-monitor.conf:    Option      "DPMS" "Disable"

take a look at /usr/bin/xdg-screensaver. It has a bad rash of DPMS's in 
it.

> -------------------8<------------------------------
>
> # Attempt to turn off all screensavers and screen blanking.
> # You don't want that on a CNC controller
>
> Section "Extensions"
>     Option      "DPMS" "Disable"
> EndSection
>
> Section "ServerFlags"
>     Option "StandbyTime" "0"
>     Option "SuspendTime" "0"
>     Option "OffTime" "0"
>     Option "BlankTime" "0"
> EndSection
>
> Section "ServerLayout"
>     Identifier "ServerLayout0"
> EndSection
>
> -------------------8<------------------------------


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to