From 5df20a349cabc2ebd3747292be97239fdf837386 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Sep 2021 11:05:29 +0200 Subject: 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/README.md to the git repository. --- contrib/xdg-scheme-handler/README.md | 8 ++++++++ contrib/xdg-scheme-handler/gnunet-uri.desktop | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 contrib/xdg-scheme-handler/README.md create mode 100644 contrib/xdg-scheme-handler/gnunet-uri.desktop (limited to 'contrib/xdg-scheme-handler') diff --git a/contrib/xdg-scheme-handler/README.md b/contrib/xdg-scheme-handler/README.md new file mode 100644 index 000000000..919ae37f8 --- /dev/null +++ b/contrib/xdg-scheme-handler/README.md @@ -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 +Icon=gnunet +Type=Application +Terminal=false +NoDisplay=true +MimeType=x-scheme-handler/gnunet; -- cgit v1.2.3