• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Auto starting a file

Scheduled Pinned Locked Moved Help and Support
helpautostart
9 Posts 2 Posters 1.2k 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.
  • A
    alexck
    last edited by 15 Oct 2017, 23:05

    (All hard ware info is irrelevant exept im using rpi 3 model b)

    Hi! i was looking to possibly use my 3ds as a controller using this program here https://github.com/CTurt/3DSController and i was wondering how i could auto start this program at launch. I have very little coding experience so if possible please just give me a copy and paste file

    M 2 Replies Last reply 15 Oct 2017, 23:41 Reply Quote 0
    • M
      meleu @alexck
      last edited by 15 Oct 2017, 23:41

      @alexck said in Auto starting a file:

      I have very little coding experience so if possible please just give me a copy and paste file

      Unfortunately I have no idea what command you need to use your controller, maybe the docs of that site you linked explain it. But to autostart a program at boot, one of the many ways is to put the command you want at /etc/rc.local with a & sign at the end of line. Example:

      /path/to/your/program --some-arguments if needed &
      
      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      A 1 Reply Last reply 15 Oct 2017, 23:53 Reply Quote 0
      • A
        alexck
        last edited by 15 Oct 2017, 23:47

        ok so i believe i dont need to use any extra commands i think i just need it to start and run the program in the background so what do i need to put?

        M A 2 Replies Last reply 16 Oct 2017, 00:01 Reply Quote 0
        • A
          alexck @meleu
          last edited by 15 Oct 2017, 23:53

          @meleu i forgot to reply directly to you so heres a notification

          1 Reply Last reply Reply Quote 0
          • M
            meleu @alexck
            last edited by 16 Oct 2017, 00:01

            @alexck said in Auto starting a file:

            so what do i need to put?

            I have no idea. I saw your topic's title and only showed where you need to put (/etc/rc.local). But as I don't have this controller and neither use this program you mentioned, I don't know what to put in that file.

            Maybe it's better to ask to that software's developer or read their docs.

            @alexck said in Auto starting a file:

            @meleu i forgot to reply directly to you so heres a notification

            There is no need for that. We receive notifications about posts on threads we are participating.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • A
              alexck @alexck
              last edited by 16 Oct 2017, 00:04

              @alexck said in Auto starting a file:

              ok so i believe i dont need to use any extra commands

              i just need it to start not run any commands
              (sorry if im just not understanding, a little new to this)

              @alexck said in Auto starting a file:

              @meleu i forgot to reply directly to you so heres a notification

              There is no need for that. We receive notifications about posts on threads we are participating.

              sorry i didnt know if you did or not

              1 Reply Last reply Reply Quote 0
              • M
                meleu @alexck
                last edited by 16 Oct 2017, 00:13

                @alexck I assumed that you already succeeded in starting the program you need and just want to know how to automatically start it at boot. Am I right?

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                A 1 Reply Last reply 16 Oct 2017, 00:16 Reply Quote 0
                • A
                  alexck @meleu
                  last edited by alexck 16 Oct 2017, 00:16

                  @meleu yes, if i understand what your asking, im a little unsure of your wording(do you mean thats what you thought i meant or your asking if I already succeeded in starting the program and just want to know how to automatically start it at boot)

                  M 1 Reply Last reply 16 Oct 2017, 01:17 Reply Quote 0
                  • M
                    meleu @alexck
                    last edited by 16 Oct 2017, 01:17

                    @alexck said in Auto starting a file:

                    if I already succeeded in starting the program and just want to know how to automatically start it at boot

                    This one.

                    If you already know what command to start the program you need, you only have to put the same command in /etc/rc.local file and add a & symbol in the end of the line.

                    I hope I am clear... ;-)

                    By the way, is english you native language? I'm not trying to make fun of you, this is not my native language... If you're able to speak portuguese, I am too. ;-)

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      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.

                      This community forum collects and processes your personal information.
                      consent.not_received