I am trying to launch a simple script (let's say it is /home/pi/python/python_code/hello-world.sh
) from the /home/pi/.config/lxsession/LXDE-pi/autostart
file.
I have added the following line to the autostart
file to do this:
@lxterminal -e "/home/pi/python/python_code/hello-world.sh"
The hello-world.sh
script runs fine from the command line, but when I boot the Pi, autostart opens a terminal window with hello-world"
(note the trailing double quotes) in the title bar and does nothing else.