Power On/Off Option in Main Menu
-
@cyperghost
Lovely! I have some problems with lr-vice and this is very useful! -
@pana said in Power On/Off Option in Main Menu:
@battlecat Hey, did you figure it out?
I am explaining how to set it up anyway:
-
Download the compressed folder from the link provided in the video description
-
It contain another folder called "Power Menu" which contain 4 folders ("Gamelist", "Images", "Rom", "Theme") and a file ("es_system.cfg").
-
Copy the contents of "Gamelist" to "~/.emulationstation/gamelists" ["~" is equivalent to writing "/home/your_user_name", say "/home/pi"]
-
Create a directory called "downloaded_images" inside "~/.emulationstation"
-
Copy the contents of "Images" to "~/.emulationstation/downloaded_images"
-
Copy the contents of "Rom" to "~/RetroPie/roms"
-
Copy the contents of "Theme" to "/etc/emulationstation/themes". Here you will need super user permission.
-
Copy the content of es_system.cfg (it's 9 lines of text); open the file /etc/emulationstation/es_system.cfg; paste the text to second last line (of course, as separate sentences as in the source; it must be before </systemList> tag and after </system> tag). Here also you will need super user permission.
-
Finally convert shutdown and reboot scripts within "~/Retropie/roms" into executable's by the commands:
a. chmod +x ~/RetroPie/roms/power/ashutdown.sh
b. chmod +x ~/RetroPie/roms/power/reboot.sh -
Restart and you are done!
Really need some help with this.... Not sure what to do with step 9. Ive tried deleting the existing content in these scripts and adding the above... But no joy
I keep getting a message saying permission denied. Can anyone help
-
-
@Jste84 said in Power On/Off Option in Main Menu:
I keep getting a message saying permission denied. Can anyone help
What are the permissions on those files ? Run
ls -l ~/RetroPie/roms/power/
and post the output.
-
@mitu edit
Total 64
-rwxr-xr-x 1 pi pi 36 Apr 26 03:30 ashutdown.sh
-rwxr-xr-x 1 pi pi 46 Apr 26 04:08 reboot.sh -
@Jste84 said in Power On/Off Option in Main Menu:
-rwxr-xr-x 1 pi pi 36 Apr 26 03:30 ashutdown.sh
-rwxr-xr-x 1 pi pi 46 Apr 26 04:08 reboot.shThe files are already executable, so there's no need to run the
chmod
command. -
@mitu ok but when... I select the option to restart or shutdown on the menu... I get a message saying permission denied..
I've Def done something wrong..
-
Is anyone able to help? I
-
@Jste84 said in Power On/Off Option in Main Menu:
Is anyone able to help? I
Have you tried resetting the permissions for the two scripts? Seemed to work for me. Try:
sudo chown -R pi:pi /home/pi
I'd really love to be add a third option for restarting Emulation Station. I added another .sh file to the rom folder called 'restart' and tried the following scripts:
#!/bin/bash sudo restart -r now
and
#!/bin/bash sudo es-restart -r now
No success with either. Any ideas?
-
@che_don_john said in Power On/Off Option in Main Menu:
sudo restart -r now
There's no such command. You maybe want to run
sudo reboot
? -
@mitu said in Power On/Off Option in Main Menu:
@che_don_john said in Power On/Off Option in Main Menu:
sudo restart -r now
There's no such command. You maybe want to run
sudo reboot
?Thanks, I'll try that.
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.