I am trying to delay the autostart of a program called "Barrier" (Mouse and Keyboard sharing application). The ~/.config/autostart file looks like this but it starts immediately on bootup anyway:
[Desktop Entry]
Type=Application
Name=Barrier
Comment=Keyboard and mouse sharing solution
Exec=barrier
Icon=barrier
Terminal=false
Categories=DesktopUtility
Keywords=keyboard;mouse;sharing;network;share;
X-GNOME-Autostart-Delay=25
I need the program to delay autostart because my network connection needs to connect to my VPN provider first. This takes a few seconds. If I do not delay autostart of Barrier I get an error message because Barrier could not retrieve the local IP.