From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: How to setup xdg for org-protocol ? Date: Sat, 10 Jul 2010 19:28:29 +0200 Message-ID: <871vbbb5op.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXdxo-0007fR-Ec for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:35:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXdxn-0007L6-4P for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:35:44 -0400 Received: from mail.gmx.net ([213.165.64.20]:59303) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OXdxm-0007KX-NB for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:35:43 -0400 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: Julien Fantin Cc: emacs-orgmode@gnu.org 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 HTH Sebastian