02-19-2021, 12:08 PM
(02-18-2021, 03:44 PM)Macdelf Wrote:Thank you for this piece of advice ! Do you think that these commands would work in a bash script ? Moreover, would you have the related commands to switch off the touch capability of my display ? By the way I also found that the localui.service created by Tim handles also the display, but I do not know how to stop it using a bash command.(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
Best regards