Topic: How to execute programs from a firejailed browser?

My firejailed Iceweasel-UXP can open PDFs with Xournal but not with Atril. If I select atril in the download dialog, nothing happens.

How can I choose which program is used to open files downloaded from the firejailed browser? I'd rather open the files directly than save them and then open them.