RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    can you add a script to run a command for a custom screensaver to turn monitor off

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.3screen saver
    2 Posts 1 Posters 773 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grant2258 Banned
      last edited by

      This is an easy one I hope. I dont want my screen to blank I want it to turn off. The commands to do it are easy enough.

      vcgencmd display_power 0
      vcgencmd display_power 1

      0 is sleep and 1 is wake up is there a simple way to add this with a script to replace screen blank?

      1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned
        last edited by grant2258

        Well I had a look in the emulation station source seems es-core/src/PowerSaver.cpp and https://github.com/RetroPie/EmulationStation/blob/master/es-app/src/SystemScreenSaver.cpp would need changed if there is no scripting support. Im going to look at that source a little more. It shouldn't take too much to add a option to add a script option. Like
        sh screensaver.sh on
        sh screensaver.sh off

        i really surprised its not got this option

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.