Automatic runing command at start. How to?
-
Hello
Could somebody tell me how to make command:sudo python3 tweakvec.py --preset PAL60
run always automatically when raspberry pi turned on?
( I've tired to write this command manually each time after retropie loading, so maybe could add this command like autoboot? I'ts just need ti fix colors of my TV)
-
Add the command to the autostart script - see https://retropie.org.uk/docs/FAQ/#how-do-i-boot-to-the-desktop-or-kodi -, before the EmulationStation command.
-
@mitu alright, i do /opt/retropie/configs/all/autostart.sh - and wrote there my command: sudo python3 tweakvec.py --preset PAL60.
But after next reboot nothing happens.Even if I write there " sudo python3 /home/pi/tweakvec.py --preset PAL60 " nothing happened too
-
Even if I write there " sudo python3 /home/pi/tweakvec.py --preset PAL60 " nothing happened too
Does this command work from the command line, if you launch it manually ? You need to give the full path to the script, because
autostart.sh
doesn't necessarily run from/home/pi
.Post the complete
autostart.sh
file. -
@mitu оООО!
Oh thank you! on the hundredth attempt, it still worked itself- -magic!?))
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.