Im trying to add items to the autostart on desktop launch but the options just keep disappearing. My file: .config/lxsession/LXDE-pi/autostart currently has:

@lxpanel --profile LXDE-pi

@pcmanfm --desktop --profile LXDE-pi

@xscreensaver -no-splash


But when I add new lines in, such as @firefox-esr and reboot, the autostart file resets to what it had before.

Is there a way to make sure these changes stick?

2 Answers 2


I believe you should be using:


Thanks I tried that too.

Turns out my sd card was not updating with any changes I made.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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