On Tue, 2 May 2023 15:14:27 +0000
Ted Mittelstaedt <t...@portlandia-it.com> wrote:

> From the following 
> https://unix.stackexchange.com/questions/4466/screen-turns-on-automatically-xset-dpms-force-off
> 
> is this awful hack:
> 
> I used cron with this set to run every 5 mins (enter crontab -e from the 
> command-line as your X11 logged in user):
> 
> */5 * * * * /usr/bin/env DISPLAY=:0.0 xset -dpms
> 
> Or even worse:
> 
> If non of the above worked for you. I had the same problem on a 64bit linux 
> mint machine. The only thing that worked for me was this python script :
> 
> import sys, select, subprocess
> while True:
>     p = subprocess.Popen(['xset', 'dpms', 'force', 'off'], 
>         stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>     if sys.stdin in select.select([sys.stdin], [], [], 0)[0]:
>         break
> 
> Of course, he also did misspell the word "none"  LOL
> 
> I feel there is something smelly in the garbage when you have to write a 
> frigging program to slap down what the eco-greenie warriors feel justified in 
> forcing on you.  Sigh.
> 

huh. that's strange. as I was saying I did 'xset -dpms' once and had no 
problems overnight.

i'll wait a couple of hours and check to see if the xset status has changed.

I'm sure it worked though, if i don't disable it i get 1 -2 hours maximum and 
then it blanks out.


Brian

Reply via email to