GNU bug report logs - #52393
pdf links not clickable when zathura is launched via xdg-open

Previous Next

Package: guix;

Reported by: "bdju" <bdju <at> tilde.team>

Date: Thu, 9 Dec 2021 18:04:02 UTC

Severity: normal

Done: "bdju" <bdju <at> tilde.team>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52393 in the body.
You can then email your comments to 52393 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52393; Package guix. (Thu, 09 Dec 2021 18:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "bdju" <bdju <at> tilde.team>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 09 Dec 2021 18:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: <bug-guix <at> gnu.org>
Subject: pdf links not clickable when zathura is launched via xdg-open
Date: Thu, 09 Dec 2021 11:58:23 -0600
guix (GNU Guix) f199427c1b6dd8e3428e25d4e15f604b3c90a3b7
Guix System

works: zathura file.pdf
doesn't work: xdg-open file.pdf

Both launch zathura since it's my default reader. In the xdg-open case,
clicking a link in a pdf seems to not do anything. If I launched with
zathura explicitly, it opens the link in my existing instance of
qutebrowser as I would expect.
No errors related to clicking the link seem to show up in a terminal.
When launched either way I do get a lot of errors saying
```
error: plugin: filetype already registered: application/pdf
```
and then similar ones for oxps, epub+zip, xml, etc. as well as a message
that libdjvu.so cannot be registered as a plugin. These seem like
non-fatal errors and are probably unrelated, but I thought I would
mention them anyway.




Information forwarded to bug-guix <at> gnu.org:
bug#52393; Package guix. (Thu, 09 Dec 2021 18:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 52393 <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: "bdju" <bdju <at> tilde.team>, <52393 <at> debbugs.gnu.org>
Subject: Re: bug#52393: pdf links not clickable when zathura is launched via
 xdg-open
Date: Thu, 09 Dec 2021 12:12:46 -0600
[Message part 1 (text/plain, inline)]
in my mimeapps.list file I have zathura set like this:
application/pdf=org.pwmt.zathura.desktop
application/octet-stream=org.pwmt.zathura.desktop;
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;

I noticed there are two other zathura.desktop files on my system.
~/.guix-profile/share/applications/org.pwmt.zathura.desktop
~/.guix-profile/share/applications/org.pwmt.zathura-djvu.desktop
~/.guix-profile/share/applications/org.pwmt.zathura-pdf-mupdf.desktop

Perhaps I'm using the wrong one here. I also noticed I have two
application/pdf lines, but the first one is from the Default
Applications section and the second is from Added Associations.

Deleting the first line then makes xdg-open use a browser to open the
pdf, so I don't think that's the right way to go.

I tried also copying the later application/pdf line and replacing the
first one in the file with it, so this way it's still in the file in
both sections. With this, the file opens in zathura again, but clicking
links still does nothing. I'm not sure of the significance of the
semicolon at the end. Some of my lines have it, and some don't.

I'll attach my mimeapps.list file in case it's helpful to look over in
its entirety. (file has been reverted to the state it was at the start
of troubleshooting since none of the changes so far fixed the issue)
[mimeapps.list.txt (text/plain, attachment)]

Reply sent to "bdju" <bdju <at> tilde.team>:
You have taken responsibility. (Thu, 09 Dec 2021 18:28:01 GMT) Full text and rfc822 format available.

Notification sent to "bdju" <bdju <at> tilde.team>:
bug acknowledged by developer. (Thu, 09 Dec 2021 18:28:01 GMT) Full text and rfc822 format available.

Message #13 received at 52393-done <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: "bdju" <bdju <at> tilde.team>, <52393-done <at> debbugs.gnu.org>
Subject: Re: bug#52393: pdf links not clickable when zathura is launched via
 xdg-open
Date: Thu, 09 Dec 2021 12:25:48 -0600
Okay, disregard. It seems a double-click is required rather than a
single click, and it takes about 5 seconds for anything to happen. I was
possibly clicking a different number of times between tests. Maybe I was
more desperate when I launched with zathura explicitly. It seems to work
the same both ways now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Jan 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.