RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    changing your shell will stop EmulationStation from starting automatically

    Scheduled Pinned Locked Moved Help and Support
    shellautostart.shemulationstation
    5 Posts 4 Posters 833 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      noon-ng
      last edited by

      Hi folks, I was doing my head in looking for a fix to convince my Pi to boot into emulationstation directly then it hit me.

      Looks like the EmulationStation autostart feature needs the pi user’s shell to be set to /bin/bash.

      The first thing I do on any new unixy environment is to install my personal scripts, which require zsh. So I didn’t even think of it and when I eventually rebooted my Pi I got greeted by a shell prompt even though everything else seemed fine!

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        yeah, retropie is essentially entirely bash scripts, so it's not going to run under zsh unfortunately. you'll need to write your own autostart script if you want to run emulationstation in isolation.

        1 Reply Last reply Reply Quote 1
        • BuZzB
          BuZz administrators
          last edited by BuZz

          This is expected behaviour. If you switch your shell to eg zsh you should be familiar also with autostarting stuff via ~/.zshrcor whatever your shell uses.

          You can add something like this to it

          bash /etc/profile.d/10-retropie.sh
          

          Or just manually start things yourself. Note the script above basically launches our autostart.sh script but it does a check for tty and a couple of other things also.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          N 1 Reply Last reply Reply Quote 0
          • N
            noon-ng @BuZz
            last edited by

            @BuZz cheers, I’ll give this a try.

            1 Reply Last reply Reply Quote 0
            • ClydeC
              Clyde
              last edited by

              The question I would ask myself in your place is if I'd rather do without or rewrite my scripts than trying to adapt many unfamiliar scripts that may break again with the next update.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              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.