02-18-2021, 03:44 PM
(02-14-2021, 05:20 PM)pkdick Wrote: Hello Everyone,This worked when I used my 7 inch display. I had this in my .lircrc file to turn the display off when not using.
I set up a Moode installation with an USBBridge Sig and a Katana DAC powered with a Shanti PS: the total boot time is around 40-50 seconds before my 5.5" Waveshare AMOLED displays something. So I would like to let my electronic setup always on while I would switch off the display and all other running operations (e.g. the play of a song) with a GPIO Switch (this way, it will be much quicker to use).
So my question is: is it possible to do that using some batch or python commands (i.e. display switch on/off) ?
Thank you in advance,
Best regards,
sudo DISPLAY=:0.0 xset dpms force on
sudo DISPLAY=:0.0 xset dpms force off