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

    Kodi Autostart from emulationstation

    Scheduled Pinned Locked Moved Help and Support
    9 Posts 5 Posters 12.8k 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.
    • P
      pattaboy
      last edited by

      Is it possible to autostart kodi or any other game that has an .sh extension from emulationstation?
      This way I can always start kodi and exit kodi to play a game on my retropie console.

      Who can help me out?

      1 Reply Last reply Reply Quote 0
      • P
        pattaboy
        last edited by

        nobody who can help me out?

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

          edit /etc/profile.d/10-emulationstation.sh and put kodi-standalone before ES starts, so when you exit it, it will load Emulation Station.

          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

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

            Replace the contents with

            # launch kodi then emulationstation (if we are on the correct tty)
            if [ "`tty`" = "/dev/tty1" ]; then
                kodi-standalone
                emulationstation
            fi
            

            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

            1 Reply Last reply Reply Quote 0
            • G
              geneworld
              last edited by

              Interesting, I thought about doing this too but I don't have 10-emulationstation.sh. is that new to 3.7? I have 3.6 built from source.

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @geneworld
                last edited by

                @geneworld if you've installed emulationstation and enabled autostart from the setup script it will be there.

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • G
                  geneworld
                  last edited by

                  OH okay, Yeah I didn't select it to be auto-started. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • M
                    Meldrak
                    last edited by

                    Hi, I use the script on Ubuntu 16.04 to setup retropie and option to set autostart of kodi is not visible
                    emulationsation is autostarting well but don't have the sh file in /etc/profile.d/

                    How can I do? Thanks

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pattaboy @Meldrak
                      last edited by

                      @Meldrak have you checked out the option in the retropie setup? there is now an option in the retropie setup that first boot kodi and when exiting it starts up emulationstation.

                      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.