When I click on a link in a PDF document in Evince, it does not work. Instead, I only see cursor turning into a spinner and a message appearing in the terminal:
env: ‘/snap/bin/firefox’: Permission denied
The closest thing I have found is the following bug report for evince itself https://gitlab.gnome.org/GNOME/evince/-/issues/1090
which suggests that the problem is in the AppArmor profiles that do not allow Evince to run programs in the home directory.
How can I solve this?
I use Ubuntu 21.10 with Firefox installed from Snaps
Update Nov 2023 The bug have been fixed in Ubuntu 23.10. For bug discussion see https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1794064