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
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.
Necessary and Functional
These cookies are placed to make it possible to analyze this website (with Google Analytics) and optimize for the purpose of a.o. the usability.
Cookie names: _ga, _gat, _gid
These cookies are placed to show advertisements (of Google AdSense) and to get these close to your interest.
Cookie names: id, IDE, FLC, DSID, SNID, NID
These cookies are required to show the cookie notification bar, remember your cookie acceptance choice and apply this choice.
Cookie names: privacy_embeds, wpca_consent, woocommerce_cart_hash, woocommerce_items_in_cart, wp_woocommerce_session_, wp-settings-1, wp-settings-time-1