From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Problem with setting up org-protocol Date: Sun, 5 May 2013 12:49:49 +0200 Message-ID: <20130505104949.GA32766@kuru.dyndns-at-home.com> References: <20130504234120.58f46323@aga-netbook> <20130505004646.GH3832@kuru.dyndns-at-home.com> <20130505120736.46bc043d@aga-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYwVw-0007hC-UT for emacs-orgmode@gnu.org; Sun, 05 May 2013 06:49:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYwVv-0001wp-NK for emacs-orgmode@gnu.org; Sun, 05 May 2013 06:49:56 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:36354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYwVv-0001wk-H4 for emacs-orgmode@gnu.org; Sun, 05 May 2013 06:49:55 -0400 Received: by mail-wi0-f171.google.com with SMTP id l13so1769725wie.16 for ; Sun, 05 May 2013 03:49:54 -0700 (PDT) Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id nf9sm7377966wic.3.2013.05.05.03.49.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 05 May 2013 03:49:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130505120736.46bc043d@aga-netbook> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Sun, May 05, 2013 at 12:07:36PM +0200, Marcin Borkowski wrote: > Dnia 2013-05-05, o godz. 02:46:46 > Suvayu Ali napisaƂ(a): > > > Hi Marcin, > > > > Since you already looked at it, I have a comment without looking at it > > myself :-p. > > > > On Sat, May 04, 2013 at 11:41:20PM +0200, Marcin Borkowski wrote: > > > *** Linux setup (Gnome) > > > > > > - For this to work, you'll need the Gnome-Libraries to be > > > installed. > > > + (Instructions taken from > > > [[http://stackoverflow.com/questions/7464951/how-to-make-org-protocol-work][this > > > answer on StackOverflow]].) + > > > + Create and save a file called org-protocol.desktop to > > > ~/.local/share/applications containing: + > > > + : [Desktop Entry] > > > + : Name=org-protocol > > > + : Exec=emacsclient %u > > > + : Type=Application > > > + : Terminal=false > > > + : Categories=System; > > > + : MimeType=x-scheme-handler/org-protocol; > > > + > > > + Then run: > > > + > > > + : $ update-desktop-database ~/.local/share/applications/ > > > > > > - : gconftool-2 > > > -s /desktop/gnome/url-handlers/org-protocol/command > > > '/usr/local/bin/emacsclient %s' --type String > > > - : gconftool-2 > > > -s /desktop/gnome/url-handlers/org-protocol/enabled --type Boolean > > > true > > > > As far as I know, gconf was replaced with dconf with the new Gnome. > > In that case it might be better to replace the instructions with the > > corresponding dconf command line instead of some Gnome only binary > > (update-desktop-database here). Would you be willing to take a look > > at it? > > Didn't know that. But if you look closer, you'll see the minus signs > in front of these lines - actually, I deleted them;). Exactly my point. I was suggesting instead of losing the information by deleting it, it would be worthwhile to "translate" the gconf commands to the corresponding dconf commands. > Maybe what you write is the reason the recipe from Worg didn't work? I > don't know too much about Gnome - I'm just a user, so I don't know. But you *are* a user :), I was just suggesting with a little more effort maybe you can figure out what the correct command is. I think it would be a worthy addition to Worg. With your current change, we make the Worg entry even more desktop dependent than before[1]. Hope my encourangements get you motivated to look into this. Cheers, Footnotes: [1] Although gconf/dconf is used with Gnome, there are many other desktops that use them as backends. After all most Gnome apps are rather popular. -- Suvayu Open source is the future. It sets us free.