- You say "None of them did the expected like I would get from the UI by opening the terminal followed by a [...]". So what do they do and what were you expecting? Remember we can't see your Pi or your code.
- You should really be using your user's autostart file not the systemwide one. in /etc.
- Your autostart line doesn't run your code with sudo yet your manual command does. This may be a factor but it may also be an unnecessary use of sudo
- The autostart file is not a shell script so some shell specific functionality cannot be included there.
- Assuming your command is correctly passed to lxterminal, the echo won't run until your python script exits.
- I've no idea whether the quoting around your -e argument will be enough. It may not be being interpreted correctly. Put those three command into a shell script and call the shell script from autostart instead.
Statistics: Posted by thagrol — Tue Mar 19, 2024 5:51 pm