How to Auto Start Applications in Ubuntu

Ubuntu Logo

How to Auto Start Applications in Ubuntu

Prerequisites

  • gnome-session-properties

Install

sudo apt install gnome-startup-applications -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnome-startup-applications is already the newest version (3.36.0-2ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 45 not to upgrade.

Configure

Super Key> "startup Application" Click
Startup Applications


[Add]

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

Add Startup Program
[Add]

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/