summaryrefslogtreecommitdiff
path: root/contrib/xdg-scheme-handler
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-09-20 09:00:16 +0200
committert3sserakt <t3ss@posteo.de>2021-09-20 11:10:54 +0200
commitb97b260a0461401b317958002b472ff7ed29fb68 (patch)
tree0681d8e7e91626cdcd22f5724557e39153b45306 /contrib/xdg-scheme-handler
parentd5df403e64bbde52c5436165eee5231a1b2f876b (diff)
parent48896731e966376ec6f256e175e0d12cd17afa42 (diff)
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'contrib/xdg-scheme-handler')
-rw-r--r--contrib/xdg-scheme-handler/README.md8
-rw-r--r--contrib/xdg-scheme-handler/gnunet-uri.desktop9
2 files changed, 17 insertions, 0 deletions
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;