7 Inch display on and off - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: 7 Inch display on and off (/showthread.php?tid=313) |
7 Inch display on and off - Macdelf - 07-16-2018 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 RE: 7 Inch display on and off - Tim Curtis - 07-16-2018 What is .Xauthority? moOde manipulates .xinitrc file for setting the screen blank timeout. -Tim RE: 7 Inch display on and off - Macdelf - 07-18-2018 (07-16-2018, 09:03 PM)Tim Curtis Wrote: What is .Xauthority? 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 RE: 7 Inch display on and off - Tim Curtis - 07-18-2018 Cool :-) |