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