How can I set a flatpak application to run on startup?

Viewed 2849

I wanted to post this because I didn't find the answer elsewhere and this might just help someone else.

I have Slack installed on my Ubuntu 18.04 Bionic Beaver via FlatPak and would like to have it launch as soon as I login. Because it is installed via FlatPak, I cannot find it in /usr/share/applications in order to add it to startup applications

2 Answers

You need to install FlatPak applications via Gnome Tweaks. If you haven't already installed Gnome tweaks then run

sudo apt install gnome-tweaks

Launch Gnome Tweaks and navigate to "Startup Applications".

enter image description here

The flatPak applications are easily found from here.

You could add an entry to your .gnomerc, .Xinitrc etc such as

snap run (program)

Related