From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Mattias_J=C3=A4mting?= Subject: Re: Org-protocol / Chrome on Linux Date: Thu, 30 Sep 2010 15:11:50 +0200 Message-ID: References: <87aao21i92.fsf@gmx.de> 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=56403 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1Iw0-0004Px-Lw for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1Ivv-0004R1-KB for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:12:28 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:49642) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Ivv-0004QR-CS for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 09:12:23 -0400 Received: by eyh5 with SMTP id 5so872261eyh.0 for ; Thu, 30 Sep 2010 06:12:22 -0700 (PDT) Received: by yxk8 with SMTP id 8so1107930yxk.0 for ; Thu, 30 Sep 2010 06:12:13 -0700 (PDT) In-Reply-To: <87aao21i92.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 Yes i'm running a pretty standard Ubuntu 10.04 setup. I managed to get it working on chrome by removing the encodeURIComponent command on location.href. I could simulate it in the terminal like this. mattias@helium:~$ xdg-open org-protocol://capture://http%3A%2F%2Forgmode.or= g Error showing URL: Operation not supported mattias@helium:~$ xdg-open org-protocol://capture://http://orgmode.org mattias@helium:~$ (worked) Strange that it worked in FF. Maybe Chrome and FF encodes URIs differently? Anyway. Works for me now so i'm pleased... /Mattias On Wed, Sep 1, 2010 at 01:20, Sebastian Rose wrote: > Mattias J=C3=A4mting writes: >> Hello, >> >> Have someone managed to get org-protocol ( >> http://orgmode.org/worg/org-contrib/org-protocol.php) working in chrome = on >> linux (i use ubuntu) ? >> >> (I have tried; it works in firefox, but not in chrome - which is my >> preferred browser nowadays.) >> >> Please let my know if it works for you, or if you have any hints on sett= ing >> it up. > > > Do you have Gnome libs installed? =C2=A0On a current GNU/Linux you could > install protocol handlers for all programs as explained in > > =C2=A0http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_1 > > > I don't know how to setup protocols with Chrome, but once you have done > that, restarting Chrome and clicking one of the test links should work: > > =C2=A0http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_4 > > > Please report back if you get it to work. =C2=A0 Maybe you could even pro= vide > a little description we could add to the docs. > > > HTH > > =C2=A0Sebastian > > > (I will not use Chrome, since I don't want sites as trusted repos in my > sources list, that uses the uninstall script in the *.deb package, to > put the site into my sources list again.) > > _______________________________________________ > 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 > > --=20 =C2=A0Mattias J=C3=A4mting =C2=A0=C2=A0www.jwd.se=C2=A0|=C2=A0mattias@jwd.s= e=C2=A0| 070-6760182 =C2=A0=C2=A0Internet, Coding, Design, Usablility - since 1998