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

    Run command at start?

    Scheduled Pinned Locked Moved Help and Support
    snesdevrun at startrun at boot
    7 Posts 3 Posters 2.6k 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.
    • O
      onesojourner
      last edited by onesojourner

      I am trying to run SNESDev when retropie boots. I am not sure what the proper way to do this is. Currently I can manually run sudo SNESDev and everything works correctly.

      O 1 Reply Last reply Reply Quote 0
      • O
        onesojourner @onesojourner
        last edited by

        @onesojourner Ok, have not given up on snesdev yet since it is working. I just need it to start when the system boots.

        If I run
        Sudo /user/local/bin/SNESDev &

        I get my controller working and I can shut down my ssh session and things continue to work. I tried to run:
        sudo nano /etc/rc.local

        And added Sudo /user/local/bin/SNESDev &

        Before and after the exit but it still did not allow my controller to be used.

        Does anyone have any tips for getting this to run at boot?

        meleuM 1 Reply Last reply Reply Quote 0
        • meleuM
          meleu @onesojourner
          last edited by

          @onesojourner linux is case sensitive. There's no command named Sudo. Its name is sudo.

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators
            last edited by

            Also if you are using the module from the setup script it should be set to run on boot automatically or at least has an option for it.

            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
            • O
              onesojourner
              last edited by

              Sorry, that was a smart phone correction. It is all lowercase.

              I have ran the option to have SNESDev start at boot but it has no effect.

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

                @onesojourner vaguely remember a post somewhere about it initialising too late or something where adding a sleep function may have helped... I haven't really used it myself

                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
                • O
                  onesojourner
                  last edited by

                  I ended up setting up a cron job and got this working.

                  1 Reply Last reply Reply Quote 1
                  • 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.