From mboxrd@z Thu Jan 1 00:00:00 1970 From: D M German Subject: enabling org-protocol with Firefox 3 and Ubuntu 9.04 Date: Mon, 09 Nov 2009 22:46:54 -0800 Message-ID: <86zl6uyizl.fsf@uvic.ca> Reply-To: dmg@uvic.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7kaL-0002ip-Qt for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 01:52:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7kaG-0002fb-Pd for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 01:52:12 -0500 Received: from [199.232.76.173] (port=44347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7kaG-0002fK-BV for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 01:52:08 -0500 Received: from sulfur.cs.uvic.ca ([142.104.68.220]:47477 helo=mn.cs.uvic.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7kaG-0001LB-0B for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 01:52:08 -0500 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: emacs-orgmode@gnu.org Hi everybody, if you have tried to enable org-protocol under Firefox you might run into the issue that firefox does not start emacsclient, no matter what the about:config variables say. After spending some time I discovered that this is an issue of Firefox's integration with Gnome. What you need is to tell Gnome that you have a new URI protocol called org-protocol, and that emacsclient is responsible for it. This is done with the following two commands (be careful to indicate the correct full path of emacsclient): gconftool -s /desktop/gnome/url-handlers/org-protocol/command -t string '/usr/bin/emacsclient %s' gconftool -s /desktop/gnome/url-handlers/org-protocol/enabled -t boolean true --dmg -- -- Daniel M. German http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with .