Adding power off shortcut to main emulator select screen
-
Try this:
-
@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
-
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
-
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.
-
@HoolyHoo
sorry how do I do that ?on winspc under the file permission? -
I use FileZilla. On there you just highlight the file, right click and go to view permissions. Change to 777.
-
@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
-
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?
-
@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.
-
@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.
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.