How to Auto Start Applications in Raspberry Pi OS

Raspberry Pi Logo

How to Auto Start Applications in Raspberry Pi OS After Logging in to the GUI.
Unlike Auto Starting Applications in Ubuntu. Raspberry Pi OS does not have a GUI tool to set it up

Configure

Create a Auto Start File

mkdir /home/pi/.config/autostart
nano /home/pi/.config/autostart/mumble.desktop

Configure Auto Start File

Fill out
Name: Mumble
Exec: /usr/bin/mumble mumble://TestUser@server.com:23840/Open%20Talk/Subchannel%20A/?version=1.2.0

[Desktop Entry]
Type=Application
Name=99-Mumble
Exec=/usr/bin/mumble mumble://TestUser@server.com:23840/Open%20Talk/Subchannel%20A/?version=1.2.0

Now every time you login the application above will auto start

Startup Order

The Name section is in alphabetical order. Name the application 00-Firefox 99-Mumble etc.

Adding Delay

Sometimes configuring the application to start in a certain order is just not good enough.
For example Mumble kept appearing on top of firefox.

Edit the *.desktop file

nano /home/user/.config/autostart/mumble.desktop

Add the following line to the end of the file.

X-GNOME-Autostart-Delay=33

The numerals represent how many seconds the delay will be

  • https://ubuntu.com/