Moode Forum

Full Version: 7 Inch display on and off
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I keep my pi on constantly, but blank the display when not in use. I do this with my it remote programed for the following commands


sudo XAUTHORITY=/home/pi/.Xauthority DISPLAY=:0.0 xset dpms force on
[size=undefined][size=undefined]
 [/size][/size]
sudo XAUTHORITY=/home/pi/.Xauthority DISPLAY=:0.0 xset dpms force off
The only problem is it messes up the moose sleep setting from "never" and I need to set it to 10 then back to never.
Is there a better command?
Thanks
What is .Xauthority?

moOde manipulates .xinitrc file for setting the screen blank timeout.

-Tim
(07-16-2018, 09:03 PM)Tim Curtis Wrote: [ -> ]What is .Xauthority?

moOde manipulates .xinitrc file for setting the screen blank timeout.

-Tim

Ok I think I got it. In .xinitrc changed
xset -dpms     to.    xset dpms 0 0 0

I now use DISPLAY=:0.0 xset dpms force on
or force off to turn the screen on and off in my .lircrc file
Cool :-)