Object: run a .sh file at startup to start a python program using PyQt.
Method: Edit ~/.config/lxsession/LXDE-pi/autostart
Add line @~/TWB3/RunTWB.sh
Problem: err,um, doesn't work.
I've tried: commenting out the xscreensaver line with a #
Putting the line at different points in the file.

Typing ~/TWB3/RunTWB.sh at the command line works.

OS: Jessie with Pixel on a Pi3.
This is all the more irritating because (with another forum member's
help) I managed to autorun a similar program under Wheezy on an earlier
model of Pi.
Suggestions welcomed!


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir