From: RĂ¼diger Sonderfeld Date: Sun, 13 Jan 2013 18:21:27 +0000 (+0100) Subject: org-contrib/org-protocol.org: Linus setup for KDE X-Git-Url: http://orgmode.org/w/?p=worg.git;a=commitdiff_plain;h=e49aba3bcea65d8d5a90978f631cae3713ced485 org-contrib/org-protocol.org: Linus setup for KDE Signed-off-by: RĂ¼diger Sonderfeld --- 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