• Re: Autostart python in lxterminal?

    From Thomas De Jong@tdjong8@gmail.com to comp.sys.raspberry-pi on Wed Jul 7 04:57:27 2021
    From Newsgroup: comp.sys.raspberry-pi

    On Thursday, 18 June 2020 at 12:15:31 UTC+2, kol...@bintegratedtech.com wrote:
    I know this issue is old, but I have been trying to figure out how to get a python script to load using the LXDE-pi/autostart file, and I made it slightly easy on myself to start by creating a /startup dir and a startup.sh that runs all the stuff I want to open at startup. I was trying to run one of my scripts that does not have a GUI yet and just runs in the terminal. I was trying to get it to open using the lsterminal --command="python3.7 -c '/startup/scripts/server.py; read'" and it wasnt doing anything, tried a few different variations of that command and nothing. I change it to lxterminal -e python3.7 /startup/scripts/server/py & and it works fine now. Thanks for the help. :)
    I have the same issue. Help is appreciated!
    --- Synchronet 3.20a-Linux NewsLink 1.114