SUMMARY Currently, okular installed via snap can only access documents in user's home directory. But often you want to access files on an external hard drive or usb drive. Even if it's not enabled by default STEPS TO REPRODUCE 1. Be on Ubuntu 16.04 or be using nautilus 2. Install okular via snap 3. Go to a pdf file on a mounted drive 4. Right click and select "open with okular" OBSERVED RESULT A cryptic error message which looks like "cannot access file /run/....pdf" EXPECTED RESULT Be able to open the file SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 16.04 KDE Plasma Version: Whatever is installed by snap for Okular 18.12.2 KDE Frameworks Version: Same as above Qt Version: Same as above ADDITIONAL INFORMATION Just enabling this plug in yaml file should do it. Users who need it can then also run `sudo snap connect okular:removable-media` to enable this functionality
I tried to change the product to okular in this bug but there's no option for version 18.12.2
I feel like desktop portals are the more appropriate solution for this. Unfortunately they continue to be stuck in security review for backports AFAIK.
This is now fixed, removable-media was added to okular and is now auto-connected. Thanks for reporting the bug!