How to Set Python Program to Start Automatic When Reboot Without Monitor and Mouse?

I want to make my program run automatically when it is turned on without the help of a monitor, mouse and keyboard. so all this time I run my python program in a virtual environment. can my program run automatically on startup with virtualenv enabled too?

Hello @diniramadhani553 ,

You can use “Startup Applications Preferences” for running python scripts at startup. There is related topic which solves your problem.

Regards.

1 Like

First of all, i have to activate my virtualenv first, how to do it in Startup Applications Preferences?

Hi @diniramadhani553 ,

The virtual environment can be activated in shell script. There is related topic about this issue in below.

Hope it works.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.