Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: default PDF program not correctly detected #935

Open
secretmango opened this issue Sep 30, 2024 · 1 comment
Open

Linux: default PDF program not correctly detected #935

secretmango opened this issue Sep 30, 2024 · 1 comment

Comments

@secretmango
Copy link

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?

@apyrgio
Copy link
Contributor

apyrgio commented Oct 1, 2024

Hm, this echoes a suggestion by another user (#899 (comment)). 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants