From e49aba3bcea65d8d5a90978f631cae3713ced485 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=BCdiger=20Sonderfeld?= Date: Sun, 13 Jan 2013 19:21:27 +0100 Subject: [PATCH] org-contrib/org-protocol.org: Linus setup for KDE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rüdiger Sonderfeld --- org-contrib/org-protocol.org | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/org-contrib/org-protocol.org b/org-contrib/org-protocol.org index fdc6578..e8419f2 100644 --- a/org-contrib/org-protocol.org +++ b/org-contrib/org-protocol.org @@ -80,6 +80,7 @@ actions. Just register your custom sub-protocol and handler with the variable * Browser / system setup - [[Linux setup (Gnome)]] + - [[Linux setup (KDE)]] - [[Windows setup]] - [[Mac OS X setup]] @@ -90,6 +91,26 @@ actions. Just register your custom sub-protocol and handler with the variable : gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/command '/usr/local/bin/emacsclient %s' --type String : gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/enabled --type Boolean true +*** Linux setup (KDE) + + Add a file =org.protocol= to =~/.kde/share/kde4/services/=: + +#+begin_example +# -*- conf -*- +[Protocol] +protocol=org-protocol +exec=/usr/bin/emacsclient '%u' +input=none +output=none +helper=true +listing= +reading=false +writing=false +makedir=false +deleting=false +Icon=emacs +Description=A protocol for org-mode +#+end_example # <> *** Windows setup -- 1.7.2.5