From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with setting up org-protocol
Date: Sun, 5 May 2013 12:49:49 +0200 [thread overview]
Message-ID: <20130505104949.GA32766@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <20130505120736.46bc043d@aga-netbook>
On Sun, May 05, 2013 at 12:07:36PM +0200, Marcin Borkowski wrote:
> Dnia 2013-05-05, o godz. 02:46:46
> Suvayu Ali <fatkasuvayu+linux@gmail.com> 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.
prev parent reply other threads:[~2013-05-05 10:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 21:41 Problem with setting up org-protocol Marcin Borkowski
2013-05-05 0:46 ` Suvayu Ali
2013-05-05 10:07 ` Marcin Borkowski
2013-05-05 10:49 ` Suvayu Ali [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130505104949.GA32766@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).