Booting to Emulationstation and closing it to get straight to desktop (no terminal)
-
@isilent1337 to add it to the menu you would need to install it via the above method (i suppose it would not have much to install other than the menu link, if it's already available). however i have no experience of this so hopefully someone else does...
-
@isilent1337 It doesn't matter if you installed on-top of Raspbian (Raspberry Pi OS now) or from the RetroPie image. The RetroPie image is a pre-installed and pre-configured Raspberry Pi OS Lite installation.
-
@dankcushions Thank you for quick help, really appreciate it. I will make a backup image of my recent system and will try to do that installation.
-
@mitu OK! Good to hear. Thanks !
-
Hey! I started thinking about this and I came up with an idea. Would it be possible to set Emulationstation a delayed start? Like Pi would boot to desktop first and start emulationstation from desktop right after it loads? Because I can start emulationstation from desktop terminal and when I close it, I go back to desktop.
-
@isilent1337 again, running retropie whilst the desktop is running/loaded is not supported.
-
I really have to ask once more. I am now at my Raspberry Pi OS desktop, I open terminal and type "emulationstation" and it loads RetroPie. Now if I close it, I get back to desktop (without terminal first). This mentioned process is what I would want to set up as automatic. Really no chance?
-
@isilent1337
"not supported" means you are doing things your own way instead of taking their advice and running this the way it was designed and tested. You can certainly do this, but will get less help unless someone else has already done something similar and is willing to help when it doesn't work properly.For what it's worth, if you want to launch ES from the desktop with a shortcut, or as part of an auto start process, check out this thread with my experience on a desktop build.
https://retropie.org.uk/forum/post/261695As for the delay, you can probably google how to do a delay in a script and add it to the startup process.
-
@yfzdude Yes, I actually made it launch already but now it's looping every time I close RetroPie. Still need to config some more.
-
Can you do this with
autostart.sh
?/opt/retropie/configs/all/autostart.sh
:emulationstation #auto
As a quick test I added an "echo" command so the file now reads:
emulationstation #auto echo Are you there?
Then I pressed ctrl-D to start EmulationStation and quit with F4. The terminal asked "Are you there?" before displaying the
retropie_welcome
message and command prompt.Note: this worked when using any of ctrl-D,
exit
, orlogout
to end the current bash login and call the autostart script. It did not work when just running theemulationstation
command by itself.So I think if, instead of an "echo" command, you used the
startx
(start the desktop) command, it might do what you want? Boots to EmulationStation on login and then, when ES quits, go to the desktop./opt/retropie/configs/all/autostart.sh
:emulationstation #auto startx
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.