Autostart py script - Raspberry Pi Forums


i've edited autostart folder in /etc/xdg/lxsession/lxde-pi/autostart

include --

@/usr/bin/python/home/pi/myprogram.py

, nothing.

can't work -- trying autostart application. raspian opens cli, not desktop. (and tried both heck of it) doing wrong?

-- thank you.

mmkw43 wrote:i've edited autostart folder in /etc/xdg/lxsession/lxde-pi/autostart
when use that? i'm starting things in specific user's autostart in ~/.config/lxsession/lxde @ least in x86 ubuntu 16.04.
include --
@/usr/bin/python/home/pi/myprogram.py
, nothing.
can't work -- trying autostart application. raspian opens cli, not desktop. doing wrong?
i'm starting normal executables feature work scripts directly that? script executable? have correct shebang? did try putting python3 , script name? other programs start when put them in there, e.g. terminal or ssh -x ?


raspberrypi



Comments