[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with setting up org-protocol
From: |
Suvayu Ali |
Subject: |
Re: [O] Problem with setting up org-protocol |
Date: |
Sun, 5 May 2013 12:49:49 +0200 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
On Sun, May 05, 2013 at 12:07:36PM +0200, Marcin Borkowski wrote:
> Dnia 2013-05-05, o godz. 02:46:46
> Suvayu Ali <address@hidden> 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.