1

There are several answers for this on the internet including this one: How do I add startup applications in Lubuntu/Lxde?

However, it simply does not work. 14.04 version of LUbuntu allows to both set the path to an autostart app in GUI as well as by creating a .desktop file in ~/.config/startup folder. I tried both ways, nothing. I'm trying .py python GUI scripts to execute on startup. Some of them do, some of them don't. It's pretty random, I tried from the desktop, home folder, completely random and doesn't work with 90% of scripts. Any ideas? Pulling out my hair by now.

1

I succeeded in getting autostart working by adding .desktop files to /etc/xdg/autostart. Files /etc/xdg/lxsession/LXDE/autostart and /etc/xdg/lxsession/Lubuntu/autostart didn't work. NOTE: When I tried installing lubuntu-desktop package on system without DE, autostart also didn't work, there was an error on login "No Session for PID", I thought that it might be the reason. I installed minimal system without DE and then installed lxde package. And now I see no errors after login and autostart works with .desktop files in /etc/xdg/autostart.

  • I actually placed them in ~/.config/autostart – Leo Ervin Sep 24 '15 at 21:08

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.