From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id IPWAKDxKsmGNQQAAgWs5BA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 09 Dec 2021 19:26:04 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id aFkzJDxKsmE1cQAA1q6Kng
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 09 Dec 2021 18:26:04 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 57D0A440B
	for <larch@yhetil.org>; Thu,  9 Dec 2021 19:26:04 +0100 (CET)
Received: from localhost ([::1]:44090 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1mvO7H-0001et-Hi
	for larch@yhetil.org; Thu, 09 Dec 2021 13:26:03 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39014)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mvO6I-0001EO-KJ
 for bug-guix@gnu.org; Thu, 09 Dec 2021 13:25:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:33213)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mvO6I-0005Ef-B2
 for bug-guix@gnu.org; Thu, 09 Dec 2021 13:25:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mvO6I-0006nW-5E
 for bug-guix@gnu.org; Thu, 09 Dec 2021 13:25:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: bug#52393: pdf links not clickable when zathura is launched via
 xdg-open
References: <CGAYS4UUGQI5.3T8Y5UYBEXQMB@masaki>
Resent-From: "bdju" <bdju@tilde.team>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Thu, 09 Dec 2021 18:25:02 +0000
Resent-Message-ID: <handler.52393.B52393.163907424926068@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 52393
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: "bdju" <bdju@tilde.team>, <52393@debbugs.gnu.org>
Received: via spool by 52393-submit@debbugs.gnu.org id=B52393.163907424926068
 (code B ref 52393); Thu, 09 Dec 2021 18:25:02 +0000
Received: (at 52393) by debbugs.gnu.org; 9 Dec 2021 18:24:09 +0000
Received: from localhost ([127.0.0.1]:44759 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1mvO5R-0006mO-6N
 for submit@debbugs.gnu.org; Thu, 09 Dec 2021 13:24:09 -0500
Received: from tilde.team ([198.50.210.248]:52498 ident=postfix)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bdju@tilde.team>) id 1mvO5P-0006mG-AY
 for 52393@debbugs.gnu.org; Thu, 09 Dec 2021 13:24:07 -0500
Received: from localhost (unknown [63.228.59.248])
 by tilde.team (Postfix) with ESMTPSA id 8CDF44C78A9;
 Thu,  9 Dec 2021 18:24:06 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail;
 t=1639074246; bh=3AoohgQarIktBWis+by/PkAB7b0B9rcKxB9luFxSfMc=;
 h=Subject:From:To:Date:In-Reply-To:From;
 b=gLwcPIALk2OwP0CW4WvHK1EcHKh1A7SLnz8gguzPn2mF62ghHJuOqSQIU7dUhDNsV
 Oukh05Q4Cux+UOsuN4QDdOw37HnZYGRob0o7Qw/ZV9bDipYZACmHUuxpm9eilhYT+R
 TtdFJhMuDTcXHVeFnP7QBImtjiyxgTJSPhDfXMZc=
Content-Type: multipart/mixed;
 boundary=b105c5c03d9f5ddc13fea5885ec592b577e696b3f2c934121042722697c7
Mime-Version: 1.0
Date: Thu, 09 Dec 2021 12:12:46 -0600
Message-Id: <CGAZ35GGCXGP.15R5KRG87FOYK@masaki>
In-Reply-To: <CGAYS4UUGQI5.3T8Y5UYBEXQMB@masaki>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+larch=yhetil.org@gnu.org>
Reply-to:  "bdju" <bdju@tilde.team>
From:  "bdju" via Bug reports for GNU Guix <bug-guix@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1639074364;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:resent-cc:resent-from:resent-sender:
	 resent-message-id:in-reply-to:in-reply-to:references:references:
	 list-id:list-help:list-unsubscribe:list-subscribe:list-post:
	 dkim-signature; bh=3AoohgQarIktBWis+by/PkAB7b0B9rcKxB9luFxSfMc=;
	b=YlDRUsLIIVBEoUm4QYBdrV1kcuJG1oox7BiP4mvE/kWMOKj2QGjT2y/xyHUW9gn3PmRTlY
	05garK8LiIxnEuXgQIlriYSRJAlV/MXqdAJ5vYqEKJSaW3fB3IRPxHptefDGU1XVBbmBhQ
	SmA/E+u8XzZxeMOkMhnboykQZPoolnyQbbgd0KJonRVpgtuSqnvHjGRyPCLVOOVoo9TgLy
	IPNNicyp2PhWAXve7Lv9wSL/AsYs8r44EJle9weKAkKZE3fBCRLJQCM02Z9STpT+zid1i7
	EJa13n/YQH1gpJzfn5MCdbclugneVZ4FkQoQkqDuoFi/d6nfkRy2Mr1AmgOpRg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639074364; a=rsa-sha256; cv=none;
	b=Q7X4itSzWZPUBZ3WvZspcoEklPSPBZ2zUu1LMZlH/RpifsIKfOrjgR4Zqc7/sgsjR4NtpO
	6kraNt5y46A/SxCfZOAZISapP8zSyhtwu5inCiHX4tV/sbwCKf9ZjL0KVw1r03XWAQv3xv
	L6CN+HQKJEL7HpkxMQSvhxc9JI9oR7TyQMGdUG6B9pxg9pE+voF2KftWZJ1ywvHuFesfwT
	vnAkdSIRqnziOso7SUenvEqbWD5EDwLnAnmupu78qoyobMhFjjQ0mgvqH7LGleDsVl66Ca
	eeG9d8oBZ8s5r+tGhzFxuYru8iCve5o2hvjqXOUFExotShZxBhAtOM0cyAyPHQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=tilde.team header.s=mail header.b=gLwcPIAL;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -0.36
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=tilde.team header.s=mail header.b=gLwcPIAL;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 57D0A440B
X-Spam-Score: -0.36
X-Migadu-Scanner: scn1.migadu.com
X-TUID: H5QBOdagfehs

--b105c5c03d9f5ddc13fea5885ec592b577e696b3f2c934121042722697c7
Content-Type: multipart/alternative;
 boundary=2e468bf65f89a5205595ca26599c00c7e6a654716009f95b82b111e02c43

--2e468bf65f89a5205595ca26599c00c7e6a654716009f95b82b111e02c43
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Type: text/plain; charset=UTF-8

in my mimeapps.list file I have zathura set like this:
application/pdf=3Dorg.pwmt.zathura.desktop
application/octet-stream=3Dorg.pwmt.zathura.desktop;
application/pdf=3Dorg.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)

--2e468bf65f89a5205595ca26599c00c7e6a654716009f95b82b111e02c43--

--b105c5c03d9f5ddc13fea5885ec592b577e696b3f2c934121042722697c7
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=mimeapps.list.txt
Content-Type: text/plain; charset=utf-8; name=mimeapps.list.txt

W0RlZmF1bHQgQXBwbGljYXRpb25zXQp4LXNjaGVtZS1oYW5kbGVyL2h0dHA9b3JnLnF1dGVicm93
c2VyLnF1dGVicm93c2VyLmRlc2t0b3AKeC1zY2hlbWUtaGFuZGxlci9odHRwcz1vcmcucXV0ZWJy
b3dzZXIucXV0ZWJyb3dzZXIuZGVza3RvcAp4LXNjaGVtZS1oYW5kbGVyL2Z0cD1maWxlemlsbGEu
ZGVza3RvcAp4LXNjaGVtZS1oYW5kbGVyL2Nocm9tZT1vcmcucXV0ZWJyb3dzZXIucXV0ZWJyb3dz
ZXIuZGVza3RvcAp0ZXh0L2h0bWw9b3JnLnF1dGVicm93c2VyLnF1dGVicm93c2VyLmRlc2t0b3AK
YXBwbGljYXRpb24veC1leHRlbnNpb24taHRtPW9yZy5xdXRlYnJvd3Nlci5xdXRlYnJvd3Nlci5k
ZXNrdG9wCmFwcGxpY2F0aW9uL3gtZXh0ZW5zaW9uLWh0bWw9b3JnLnF1dGVicm93c2VyLnF1dGVi
cm93c2VyLmRlc2t0b3AKYXBwbGljYXRpb24veC1leHRlbnNpb24tc2h0bWw9b3JnLnF1dGVicm93
c2VyLnF1dGVicm93c2VyLmRlc2t0b3AKYXBwbGljYXRpb24veGh0bWwreG1sPW9yZy5xdXRlYnJv
d3Nlci5xdXRlYnJvd3Nlci5kZXNrdG9wCmFwcGxpY2F0aW9uL3gtZXh0ZW5zaW9uLXhodG1sPW9y
Zy5xdXRlYnJvd3Nlci5xdXRlYnJvd3Nlci5kZXNrdG9wCmFwcGxpY2F0aW9uL3gtZXh0ZW5zaW9u
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