From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Fantin Subject: How to setup xdg for org-protocol ? Date: Sat, 10 Jul 2010 15:44:20 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1813386828==" Return-path: Received: from [140.186.70.92] (port=55864 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXaMH-0001LK-PW for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:44:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXaMG-0000Xj-6E for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:44:45 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:45251) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXaMG-0000Xd-1U for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:44:44 -0400 Received: by wyj26 with SMTP id 26so2675505wyj.0 for ; Sat, 10 Jul 2010 06:44:41 -0700 (PDT) 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 --===============1813386828== Content-Type: multipart/alternative; boundary=0016e64c1a6cb33a3c048b08b805 --0016e64c1a6cb33a3c048b08b805 Content-Type: text/plain; charset=UTF-8 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. Has anyone already adressed this ? Cheers --0016e64c1a6cb33a3c048b08b805 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've been struggling this morning trying to get org-protocol setup on m= y linux box (via=C2=A0http://orgmode.org/worg/org-contrib/org-protocol.php)
<= br>
I can't get a web-browser to register org-protcol with emacsclient= , as=C2=A0I'm not using a desktop environment (plain startx and openbox= ),=C2=A0I'm pretty sure this is an xdg config issue.
However,= despite reading through the specs I couldn't fathom the proper setting= s.

In chromium, the external application comes up, and cal= ls xdg-open org-protocol://subprotocol/... which ends up firing a new chrom= ium frame

In firefox, I've tried setting netwo= rk.protocol-handler.app.org-protocol to an empty string or my emacsclient p= ath, anyhow I get the following error message :=C2=A0
"Firefox doesn't know how to open this address, because the p= rotocol (org-protocol) isn't associated with any program" without = showing any external application selection =C2=A0dialog.


Has anyone already adressed this ?

=
Cheers
--0016e64c1a6cb33a3c048b08b805-- --===============1813386828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1813386828==-- 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:03:29 +0200 Message-ID: <87fwzrb76m.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXdSW-0000J6-QP for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:03:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXdSV-0002uB-G3 for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:03:24 -0400 Received: from mail.gmx.net ([213.165.64.20]:52038) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OXdSV-0002u2-1C for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 13:03:23 -0400 In-Reply-To: (Julien Fantin's message of "Sat, 10 Jul 2010 15:44:20 +0200") 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. > > > Has anyone already adressed this ? First of all: Seems you have tried http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_1 already?? Current versions of FF do not work like that anymore. I don't use xdg. But I think xdg-mime is what your searching for? I you succeed, would you please mail a recipe, so we can add it to http://orgmode.org/worg/org-contrib/org-protocol.php ?? Sebastian 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 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 Subject: Re: How to setup xdg for org-protocol ? Date: Mon, 12 Jul 2010 00:25:58 +0200 Message-ID: References: <871vbbb5op.fsf@gmx.de> <87mxtzi24y.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1615260643==" Return-path: Received: from [140.186.70.92] (port=36002 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY4yb-0004xj-9F for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY4yZ-00008f-SA for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:26:21 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:58094) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY4yZ-00008Z-Kh for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:26:19 -0400 Received: by eydd26 with SMTP id d26so535528eyd.0 for ; Sun, 11 Jul 2010 15:26:18 -0700 (PDT) In-Reply-To: <87mxtzi24y.wl%dmaus@ictsoc.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: David Maus Cc: emacs-orgmode@gnu.org --===============1615260643== Content-Type: multipart/alternative; boundary=0015174c0ddcfe770a048b241f8d --0015174c0ddcfe770a048b241f8d Content-Type: text/plain; charset=UTF-8 Thanks Sebastian and David, I now have firefox working, I had to use that html file though, as firefox wouldn't bring up the application selection dialog with the test links on worg. Will now look into getting xdg-mime to work for chromium ... On Sat, Jul 10, 2010 at 9:10 PM, David Maus wrote: > 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 > On Sat, Jul 10, 2010 at 9:10 PM, Da= vid Maus <dmaus@ictsoc.de> wrote:
Sebastian Rose wrote:
>Julien Fantin <julien.fantin@gmail.com> writes:
>> I've been struggling this morning trying to get org-protocol s= etup on my
>> linux box (via http://orgmode.org/worg/org-contrib/org-pro= tocol.php)
>>
>> I can't get a web-browser to register org-protcol with emacscl= ient, 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 t= he 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.or= g-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 t= he protocol
>> (org-protocol) isn't associated with any program" without= showing any
>> external application selection =C2=A0dialog.


>Hi Julien,


>see
>http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28req= uires_certain_Gnome_libraries_to_be_installed.29

Or, of course "Firefox 3.5 specific (works without install= ed Gnome
libraries)". =C2=A0Worked fine for me (dwm), just one thing that is II= RC
not mentioned on Worg: You have to click on protocol link to set path
to emacsclient. =C2=A0E.g.

cat >> /tmp/test.html
<a href=3D"org-protocol:///>click</a>
^D

and open /tmp/test.html in Firefox.

HTH,
=C2=A0-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@ja= bber.org
Email..... dmaus@ictso= c.de

--0015174c0ddcfe770a048b241f8d-- --===============1615260643== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1615260643==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: How to setup xdg for org-protocol ? Date: Mon, 12 Jul 2010 11:35:49 +0200 Message-ID: <878w5h59fu.fsf@gmx.de> References: <871vbbb5op.fsf@gmx.de> <87mxtzi24y.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=55719 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYFQL-0006Et-QQ for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:35:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYFQK-0005jM-CH for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:35:41 -0400 Received: from mail.gmx.net ([213.165.64.20]:52879) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OYFQK-0005j2-0X for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:35:40 -0400 In-Reply-To: (Julien Fantin's message of "Mon, 12 Jul 2010 00:25:58 +0200") 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: > Thanks Sebastian and David, > I now have firefox working, I had to use that html file though, as firefox > wouldn't bring up the application selection dialog with the test links on > worg. > Will now look into getting xdg-mime to work for chromium ... >> 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 >> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Sebastian, Sebastian Rose wrote: > Julien Fantin writes: >> Thanks Sebastian and David, >> I now have firefox working, I had to use that html file though, as firef= ox >> wouldn't bring up the application selection dialog with the test links on >> worg. >> Will now look into getting xdg-mime to work for chromium ... >>> 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 >>> click >>> ^D >>> >>> and open /tmp/test.html in Firefox. > > Such links are on the dokumentation page in worg: > > http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_5 > > Was it the mouse click, that made it work? > > If so, I could add a note on that page `for FF 3.5 click on one of these > links ...'. I had the same problem this morning, with latest FFx on latest Ubuntu. I never had the window asking for which application to launch when clicking= on a `org-protocol://' link... until I re-did the manipulation with: --8<---------------cut here---------------start------------->8--- gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/command '/usr/bin/e= macsclient %s' --type String gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/enabled --type Bool= ean true --8<---------------cut here---------------end--------------->8--- (described on http://kb.mozillazine.org/Register_protocol#All_Firefox_versi= ons_.28requires_certain_Gnome_libraries_to_be_installed.29) "Next time you click a link of protocol-type foo you will be asked which application to open it with."=C2=A0: for me, after the above step (`gconfto= ol-2'), just entering `org-protocol://' in a new tab was sufficient to ask, this ti= me, for which application to run. Finally... Not that intuitive... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: How to setup xdg for org-protocol ? Date: Thu, 15 Jul 2010 12:52:20 +0200 Message-ID: <87bpa9qaor.fsf@gmx.de> References: <871vbbb5op.fsf@gmx.de> <87mxtzi24y.wl%dmaus@ictsoc.de> <878w5h59fu.fsf@gmx.de> <871vb7d1hc.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33125 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZM36-0006hW-Ui for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 06:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZM31-0006DT-HE for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 06:52:16 -0400 Received: from mail.gmx.net ([213.165.64.20]:48908) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OZM31-0006Cv-3V for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 06:52:11 -0400 In-Reply-To: <871vb7d1hc.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Tue, 13 Jul 2010 14:12:47 +0200") 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > Hi Sebastian, > > Sebastian Rose wrote: >> Julien Fantin writes: >>> Thanks Sebastian and David, >>> I now have firefox working, I had to use that html file though, as fire= fox >>> wouldn't bring up the application selection dialog with the test links = on >>> worg. >>> Will now look into getting xdg-mime to work for chromium ... >>>> 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 >>>> click >>>> ^D >>>> >>>> and open /tmp/test.html in Firefox. >> >> Such links are on the dokumentation page in worg: >> >> http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_5 >> >> Was it the mouse click, that made it work? >> >> If so, I could add a note on that page `for FF 3.5 click on one of these >> links ...'. > > I had the same problem this morning, with latest FFx on latest Ubuntu. > > I never had the window asking for which application to launch when clicki= ng on > a `org-protocol://' link... > > until I re-did the manipulation with: > > > gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/command '/usr/bin= /emacsclient %s' --type String > gconftool-2 -s /desktop/gnome/url-handlers/org-protocol/enabled --type Bo= olean true > > (described on http://kb.mozillazine.org/Register_protocol#All_Firefox_ver= sions_.28requires_certain_Gnome_libraries_to_be_installed.29) > > "Next time you click a link of protocol-type foo you will be asked which > application to open it with."=C2=A0: for me, after the above step (`gconf= tool-2'), > just entering `org-protocol://' in a new tab was sufficient to ask, this = time, > for which application to run. Finally... OK then. I'll adjust the docs this evening accordingly. Thanks for your reports. Best wishes Sebastian