I have a strange problem and hope that you can help me.
I am using Lubuntu 18.04 and just want to start firefox after user-login.
So I tried it to put it in the lx-session autostart and with a desktop file.
Both have the same problem. They are starting, when I start any program for the first time.
E.g.: I start my computer and autologin the user. Then nothing happens. When I click e.g. on "Terminal" it takes a few seconds for the first time, and then the terminal opens and then immediatly firefox from the autostart pops up. Can I trigger this event with any method? It should autostart without doing anything, because it will be used in a display.
The other autostart functions (like start vino-server or unclutter for mouse hiding are working as expected).
Just firefox just wont start. Except I open any other program manually, then it comes up.
Currently I am using the lxsession autostart, so just the file:
/home/username/.config/lxsession/Lubuntu/autostart with content
Also tried without the @. Same thing.