Autostart GUI App on Raspberry Pi

Or any other linux gui!

This is a quick reminder on how to auto start a gui app on the Raspberry Pi, in this example “barrier” will be the app starting.

  1. Create a directory for desktop config files to go.
    > mkdir -p ~/.config/autostart
  2. Copy the desktop file for the app you want to autostart into the above directory.
    > cp /usr/share/applications/barrier.desktop ~/.config/autostart

That was easy!

Leave a Reply