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

PDFs are not opening with default application #111

Closed
simonszu opened this issue Jun 19, 2019 · 1 comment
Closed

PDFs are not opening with default application #111

simonszu opened this issue Jun 19, 2019 · 1 comment

Comments

@simonszu
Copy link

I am referencing Issue #57 since i got a similar behaviour.

PDFs are opened in Inkscape from nixnote2. This is strange, since the default mime association from $HOME/.config/mimeapps.list is for PDF:

[Added Associations]
application/pdf=okularApplication_pdf.desktop;qpdfview.desktop;pdfmod.desktop;FoxitReader.desktop;foxitreader.desktop;acroread.desktop;

Inkspace isn't even listed here. You mentioned a specific Qt5-Function for opening files in the linked issue, so i checked other Qt Applications like qtfm and Dolphin - a double-click on PDF files in these applications opens them in Okular, which is my system-wide default PDF reader. It's only nixnote2 which has a different behaviour.

I have Version: 2.1.3-2b95eae6 of nixnote2 installed, it is installed via the nixnote2-git package from Arch Linux AUR.

@robert7
Copy link
Owner

robert7 commented Jul 30, 2019

Hi @simonszu
sorry for late answer...
What Nixnote does is calling Qt method QDesktopServices::openUrl with local file path e.g. /home/robert7/.nixnote/db-2/dba/43150.pdf

In my case I have configured "Foxit Viewer" and it seems to work fine...

As the url is opened by Qt ... and the call is not customized... I'm afraid, I can't do anything in Nixnote to modify it. It looks like something specific to your local system...

Example:
screen_20190730_14

So from my viewpoint yout ticket is duplicate of #57

@robert7 robert7 closed this as completed Aug 7, 2019
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