Auto starting a file
-
(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
-
@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 &
-
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?
-
@meleu i forgot to reply directly to you so heres a notification
-
@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.
-
@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
-
@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?
-
@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)
-
@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. ;-)
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.