1
I have GUI code written in PyQt in main.py
that I want to start up automatically after startx
starts.
I've already configured my beaglebone (Debian) to run startx on power up.
I initially included the following in/etc/x11/xinitrc: @/usr/bin/python3 /root/PyQt/main.py
This worked perfectly until I deleted some files from /root
to create space on my beaglebone. I'm not sure what exactly I deleted (mostly log files) but I might have also deleted the .XAuthority
, .bash_profile
, .config
folder, .dbus
folder.
Ever since then, it hasn't been autostarting my main.py
on boot. Even now, after new .XAuthority
,.bash_profile
, etc have been created, it still isn't auto-starting my program.
Is there a way to fix this? Or another way to autostartmain.py
?
Note: I'm running Debian on my beaglebone and lxqt.
I tried adding it to
xsession
already, and it doesn't work. How would i get the window manager to set it up for me? – avelampudi – 2016-12-15T16:14:18.037It really depends on your window manager. Can you tell us which one are you using? – Alessandro Dotti Contra – 2016-12-16T15:15:05.217