I agree;So starting it from cron is not the best way to do it as that runs in the background with no GUI. It may be possible, but still not ideal.
if
1) OP 's Rpi is configured to have a desktop starting (rapspi-config enables it)
2) One is sure that desktop will need at most -say 100- seconds to start (this is a very ugly bet)
one might attempt to write a script like that:
Code:
env > /home/pi/startup.log 2>&1 sleep 100 /usr/bin/python3 fullPathToAudacityLauncher > /home/pi/audacitylauncher.log 2>&1
But does OP know
a) what a script is (this is a notion which is unexplained in thagrol 18 pages -cron- or >= 46 pages boot)
b) how to make a file executable??
From OP post, I am sure .s.he did not go beyond page 11 (the google example page 10 is further explained in the "troubleshooting " 6th section... page 12). As "boot" manual is longer, II am obliged to advise an ugly way, crontab based solution...
Statistics: Posted by dbrion1 — Tue Mar 19, 2024 6:50 pm