Closed EricCousineau-TRI closed 2 years ago
Basically, if you install the snap, then Zotero can't see binaries like /usr/bin/evince
. If you install from *.tar.gz
, then it's seen no problem.
Is there a way to "downgrade" confinement to "classic", or somehow allow direct access to /usr/bin
(and maybe beyond)?
@EricCousineau-TRI Sorry for the late response. Here's some detail about why it is this way.
By design, snap prohibit access to resource not mutually granted by both the packager and the consumer. And must be delegated using the interface/slot architecture to ask for that specific resources.
Therefore, snap have no knowing and privilege to which app you have on your environment to view pdf files, and must ask it via xdg_open semantics. The open with dialog you saw was the action triggered by that xdg_open action on your platform, in my case I will get an kde's open_with dialog.
I understand that it's quite different than traditional linux apps, classic confinement will sometimes work and with enough test cases it might be a plausible solution.
Sorry for the delayed response, but thank you for the thorough explanation!
This is a mirror of the following Zotero item: https://forums.zotero.org/discussion/82736/allow-opening-file
(I just posted there with a more thorough explanation, but it needs to go through mod approval...)