Raspbian Jessie Autostart Location

This one might only help me, but if it helps anyone else, I’ll be happy.

I had to edit the autostart file for two of our kiosks. 14 of them are running Pi 2 Model B, and so are using Wheezy. When we needed to add two more, the only M2Bs we could find were 3x MSRP so we just went with M3s. Unfortunately, they have an updated architecture and will only run Jessie. It’s fine in most applications, but I couldn’t use the same system image to set them up. Frustrating.

Typical Wheezy installations have autostart located at /etc/xdg/lxsession/LXDE/autostart (or LXDE-pi, depending on how your pi boots).

That location exists for Jessie as well, but it wasn’t performing how I wanted. This was months ago, so I don’t remember exactly why, but after an hour and a half of searching, I finally found the¬†real autostart file.

sudo nano ~/.config/lxsession/LXDE-pi/autostart

I just about slapped myself when I got it, but there it is. Enjoy.