From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: How to setup xdg for org-protocol ? Date: Sat, 10 Jul 2010 21:10:37 +0200 Message-ID: <87mxtzi24y.wl%dmaus@ictsoc.de> References: <871vbbb5op.fsf@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0255543407==" Return-path: Received: from [140.186.70.92] (port=39870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXgJV-0008FD-Vh for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:06:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXfTF-0004gf-PI for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 15:12:19 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:53118) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXfTF-0004ZA-Jp for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 15:12:17 -0400 In-Reply-To: <871vbbb5op.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode@gnu.org, Julien Fantin --===============0255543407== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sat_Jul_10_21:10:37_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sat_Jul_10_21:10:37_2010-1 Content-Type: text/plain; charset=US-ASCII Sebastian Rose wrote: >Julien Fantin writes: >> I've been struggling this morning trying to get org-protocol setup on my >> linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php) >> >> I can't get a web-browser to register org-protcol with emacsclient, as I'm >> not using a desktop environment (plain startx and openbox), I'm pretty sure >> this is an xdg config issue. >> However, despite reading through the specs I couldn't fathom the proper >> settings. >> >> In chromium, the external application comes up, and calls xdg-open >> org-protocol://subprotocol/... which ends up firing a new chromium frame >> >> In firefox, I've tried setting network.protocol-handler.app.org-protocol to >> an empty string or my emacsclient path, anyhow I get the following error >> message : >> "Firefox doesn't know how to open this address, because the protocol >> (org-protocol) isn't associated with any program" without showing any >> external application selection dialog. >Hi Julien, >see >http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28requires_certain_Gnome_libraries_to_be_installed.29 Or, of course "Firefox 3.5 specific (works without installed Gnome libraries)". Worked fine for me (dwm), just one thing that is IIRC not mentioned on Worg: You have to click on protocol link to set path to emacsclient. E.g. cat >> /tmp/test.html