Open secretmango opened 1 month ago
Hm, this echoes a suggestion by another user (https://github.com/freedomofpress/dangerzone/issues/899#issuecomment-2351790807). Right now, Dangerzone tries to list all the applications that can open PDFs, store the default one in the settings, and then use that to read the PDF. To the best of my knowledge, we cannot get a list of applications via XDG portals.
But I think we're just too invested in the current design. I guess what users want is - correct me if I'm wrong - to have Dangerzone use xdg-open <pdf>
, fire up the app chooser via their DE's portal backend, and let it use the default PDF viewer. Would this be a better approach?
Fedora Kinoite 40
Plasma 6
I use Okular Flatpak as default PDF viewer, but it is not detected as such. Instead a lot of PDF programs are detected that are not default.
There is a portal that allows to grab the default PDF reader program. Could this be used?