Skip to content

Autostart GUI app on Ubuntu and Raspberry Pi

This is a quick reminder on how to start a gui app on the Raspberry Pi or other linux desktop.

This example is for "Barrier".

  1. Create a directory for desktop config files to go into.

    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
    

All done.

Back to top