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

    Adding power off shortcut to main emulator select screen

    Scheduled Pinned Locked Moved Help and Support
    12 Posts 5 Posters 4.6k 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.
    • PingSpikeP
      PingSpike
      last edited by

      I'd appreciate this feature too :)

      Here's my RetroStation project - http://www.pingspike.com/retrostation-part-4/

      :D

      1 Reply Last reply Reply Quote 1
      • HoolyHooH
        HoolyHoo
        last edited by

        Try this:

        bisusB 1 Reply Last reply Reply Quote 0
        • bisusB
          bisus @HoolyHoo
          last edited by

          @HoolyHoo said in Adding power off shortcut to main emulator select screen:

          Try this:

          Hi HoolyHoo
          I've looked at the video and dowloaded the attached files but I'm to noobie to understand where those need to be located. Could you please help ?

          thanks

          1 Reply Last reply Reply Quote 0
          • bisusB
            bisus
            last edited by

            so i was finally able to upload each single file where it needs to be and the power button showed up on the menu but when I press it it gives me back a permission denied screen
            anyone can help on this ?

            thanks

            1 Reply Last reply Reply Quote 0
            • HoolyHooH
              HoolyHoo
              last edited by

              Make sure you change the file permission of the two shell scripts you put in the rom folder named "ashutdown.sh" and "reboot.sh" to be executable.

              bisusB 1 Reply Last reply Reply Quote 1
              • bisusB
                bisus @HoolyHoo
                last edited by

                @HoolyHoo
                sorry how do I do that ?on winspc under the file permission?

                1 Reply Last reply Reply Quote 0
                • HoolyHooH
                  HoolyHoo
                  last edited by

                  I use FileZilla. On there you just highlight the file, right click and go to view permissions. Change to 777.

                  bisusB 1 Reply Last reply Reply Quote 1
                  • bisusB
                    bisus @HoolyHoo
                    last edited by

                    @HoolyHoo said in Adding power off shortcut to main emulator select screen:

                    I use FileZilla. On there you just highlight the file, right click and go to view permissions. Change to 777.

                    ok it was the permission issue as you figured out. Just for info on winspc right mouse click on the file, go on properties and on octal field write 0777

                    1 Reply Last reply Reply Quote 0
                    • PingSpikeP
                      PingSpike
                      last edited by

                      I was also wondering, would it be possible to make a macro for the IPAC-2 so a simple shift-keypress could perform the moves needed to do a normal shutdown?

                      Here's my RetroStation project - http://www.pingspike.com/retrostation-part-4/

                      :D

                      HoolyHooH caver01C 2 Replies Last reply Reply Quote 0
                      • HoolyHooH
                        HoolyHoo @PingSpike
                        last edited by

                        @PingSpike Absolutely! Check out the thread here.

                        You can easily use any of your buttons. Only a button a two wires connected to the GPIO will shut it down cleanly. Best of all, same button can be used to turn pi back on from sleep state.

                        1 Reply Last reply Reply Quote 0
                        • caver01C
                          caver01 @PingSpike
                          last edited by

                          @PingSpike I followed the thread @HoolyHoo is linking to above a couple weeks ago and it works great. You need to use GPIO3 if you want to be able to use the same button to turn on the Pi from idle (connected to AC, but shutdown). Also, there is sometimes a delay (polling rate for background BASH script?) so you have to hold the power button in for a second or two before the system recognizes it, but it has never failed to shutdown safely.

                          I'd really like to get mholgatem's GPIOneer working on Jessie so I can get my volume up/down buttons working again--no delays, any command can be assigned to a GPIO button (or combination of buttons) and web-based config editor.

                          My 4-player cocktail style cabinet built as a custom "roadcase"

                          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.