This test.sh
script:
cd test-1
source .venv/bin/activate
python test.py
deactivate
runs fine from the terminal on Ubuntu 20.04.6 with this command:
nick@jetson:~$ ./test.sh
When I add it to Startup Applications Preferences with:
it doesn't run. What is wrong?
This question is different from How do I start applications automatically on login?. I'm not asking how do I start applications automatically on login. I'm asking why a different command has to be used in Command
line of Add Startup program
than the command I type in the terminal in ~
folder.