unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "bdju" via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "bdju" <bdju@tilde.team>, <52393@debbugs.gnu.org>
Subject: bug#52393: pdf links not clickable when zathura is launched via xdg-open
Date: Thu, 09 Dec 2021 12:12:46 -0600	[thread overview]
Message-ID: <CGAZ35GGCXGP.15R5KRG87FOYK@masaki> (raw)
In-Reply-To: <CGAYS4UUGQI5.3T8Y5UYBEXQMB@masaki>


[-- Attachment #1.1: Type: text/plain, Size: 1352 bytes --]

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)

[-- Attachment #2: mimeapps.list.txt --]
[-- Type: text/plain, Size: 2071 bytes --]

[Default Applications]
x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/ftp=filezilla.desktop
x-scheme-handler/chrome=org.qutebrowser.qutebrowser.desktop
text/html=org.qutebrowser.qutebrowser.desktop
application/x-extension-htm=org.qutebrowser.qutebrowser.desktop
application/x-extension-html=org.qutebrowser.qutebrowser.desktop
application/x-extension-shtml=org.qutebrowser.qutebrowser.desktop
application/xhtml+xml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xhtml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xht=org.qutebrowser.qutebrowser.desktop
image/png=sxiv-usercreated-0.desktop;sxiv.desktop;
image/jpg=sxiv.desktop
image/gif=mpv.desktop
image/jpeg=sxiv.desktop
image/webp=sxiv.desktop
video/webm=mpv.desktop
application/pdf=org.pwmt.zathura.desktop
x-scheme-handler/magnet=userapp-transmission-gtk-W27CS0.desktop
inode/directory=ranger.desktop

[Added Associations]
x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/ftp=filezilla.desktop
x-scheme-handler/chrome=org.qutebrowser.qutebrowser.desktop
text/html=org.qutebrowser.qutebrowser.desktop
application/x-extension-htm=org.qutebrowser.qutebrowser.desktop
application/x-extension-html=org.qutebrowser.qutebrowser.desktop
application/x-extension-shtml=org.qutebrowser.qutebrowser.desktop
application/xhtml+xml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xhtml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xht=org.qutebrowser.qutebrowser.desktop
application/octet-stream=org.pwmt.zathura.desktop;
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;
x-scheme-handler/magnet=userapp-transmission-gtk-W27CS0.desktop;
text/plain=org.xfce.mousepad.desktop;mousepad.desktop;nvim.desktop;
application/json=mousepad.desktop;
text/x-csrc=mousepad.desktop;
image/png=sxiv-usercreated-0.desktop;
text/markdown=org.xfce.mousepad.desktop;
application/x-shellscript=org.xfce.mousepad.desktop;

  reply	other threads:[~2021-12-09 18:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 17:58 bug#52393: pdf links not clickable when zathura is launched via xdg-open bdju via Bug reports for GNU Guix
2021-12-09 18:12 ` bdju via Bug reports for GNU Guix [this message]
2021-12-09 18:25   ` bdju via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CGAZ35GGCXGP.15R5KRG87FOYK@masaki \
    --to=bug-guix@gnu.org \
    --cc=52393@debbugs.gnu.org \
    --cc=bdju@tilde.team \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).