Quitting Emulationstation

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of brunchero brunchero 1 year, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #96648
    Profile photo of alegeobla
    alegeobla
    Participant

    I’m desperately seeking some help here:

    What is the command to shutdown emulationstation? I know it gets shutdown from the menu, and I know the raspberry’s shut down command is “sudo poweroff” (or something similar), but whats the command that runs when you use the menu and press “Shutdown Emulationstation”?

    The reason I’m asking is because the “Play Count” only saves when you shutdown emulationstation. If you shut down the raspberry from within emulationstation is doesnt save the play counts.

    What I’m trying to do is add an extra line to my mausberry circuits shut down command so that it will shutdown emulationstation first (saving the play count) then shutdown the raspberry.

    If anyone knows what the command is, or where I can possibly find it (I’ve searched and cant seem to find where the code for the emulationstation menu is saved), it would be wildly helpful because I’m at a loss

    #96822
    Profile photo of brunchero
    brunchero
    Participant

    You would send a signal to the running process to terminate it, like killall emulationstation.

    It will probably end, but I do not know, whether ES processes the SIGTERM and saves its data before quitting. Actually that “sending TERM signal to all processes” is done automatically, when the system shuts down. So it is no improvement.

    Retro gaming, rpg and adventure fan. arduino and raspberry tinkerer.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar