I have a Raspberry PI 3 with Raspbian Desktop (debian) and I want Firefox to automatically run when I start the graphical environment.
I have a Raspberry PI 3 with Raspbian Desktop (debian) and I want Firefox to automatically run when I start the graphical environment.
I found the answer :D
You have to edit the file:
And add the command line starting with @ , examples:
The interesting thing about autostart , unlike Cron, is that those commands you enter will be executed after the user is logged in, so for each user that exists in the system you will see a specific folder in
/etc/xdg/lxsession/
.Another important point is that the script is executed at the user account level, and not as root. Unless you write the commands in root's autostart, but they will only be done within the user's graphical (xwindow) session.