diff options
authorChristian Grothoff <>2021-09-17 11:05:29 +0200
committerChristian Grothoff <>2021-09-17 11:05:29 +0200
commit5df20a349cabc2ebd3747292be97239fdf837386 (patch)
parentfc9ca33bca2652a6516eb1878863ea0d03c65d04 (diff)
madmurphy writes:
On AUR I have created the gnunet-uri.desktop file (which is installed as /usr/share/applications/gnunet-uri.desktop) to add support for the gnunet:// URI scheme (so basically it becomes possible to click on gnunet:// URIs in any browser GNUnet GTK needs to be installed too, but the URI handler gnunet-uri is part of the gnunet package). You can find a patch attached, which adds contrib/xdg-scheme-handler/gnunet-uri.desktop contrib/xdg-scheme-handler/ to the git repository.
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/xdg-scheme-handler/ b/contrib/xdg-scheme-handler/
new file mode 100644
index 000000000..919ae37f8
--- /dev/null
+++ b/contrib/xdg-scheme-handler/
@@ -0,0 +1,8 @@
+XDG Scheme Handler for GNUnet URIs
+To register the `gnunet://` URI scheme, launch the following commands from this
+directory as a privileged user:
+ install -Dm644 gnunet-uri.desktop /usr/share/applications/gnunet-uri.desktop
+ update-mime-database /usr/share/applications/
diff --git a/contrib/xdg-scheme-handler/gnunet-uri.desktop b/contrib/xdg-scheme-handler/gnunet-uri.desktop
new file mode 100644
index 000000000..4f847d20f
--- /dev/null
+++ b/contrib/xdg-scheme-handler/gnunet-uri.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=GNUnet URI
+Exec=gnunet-uri %u
+GenericName=URI handler for the GNUnet network