I added a line at the end of .bashrc to start a python program as I start up raspberry.
However the program is not automatically executed and it runs only after openning terminal.
So I would like to make the program to be run without having to open terminal.
Is there anybody here with a suggestion?
My configuration is not raspberry connected to computer and running by serial
But Raspberry connected directly to keyboard, mouse and monitor.
man bash
..profile
is executed for interactive login shells,.bashrc
is executed for interactive non-login shells, and neither is executed for non-interactive shells. – goldilocks May 10 '18 at 14:01tmux
and some service configuration, which is my prefered because of simplicity https://raspberrypi.stackexchange.com/questions/79926/running-py-script-as-service-and-interact-via-ssh-tmux-or-screen – Łukasz Jakubek May 15 '18 at 06:42