emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: emacs-orgmode@gnu.org
Subject: Re: cant get org-protocol right
Date: Tue, 05 Aug 2014 03:11:54 +0200	[thread overview]
Message-ID: <87fvhbyc2t.fsf@mars.lan> (raw)
In-Reply-To: 87lhr5xegr.fsf@mars.lan

wow found a solution.

I dont understand why I have to do that, but it seems firefox fucks up
some path or other variables and because of that it doesnt find the
standard server socket file so when I explizitly specifiy that in the
org-protocol.desktop file, it works:

[Desktop Entry]
Name=org-protocol
Exec=emacsclient -s /tmp/emacs1000/server %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/org-protocol;



I have on suspition what else could be the problem here, I use psd,
profile-sync-daemon:
https://wiki.archlinux.org/index.php/Profile-sync-daemon

so maybe that causes the problems with finding the server file in tmp,
on the other hand epiphany doesnt has this problem, and psd is also
activated on epiphany, so I am not shure happy that it works with
firefox now.


Would be nice if somebody could update the
http://orgmode.org/worg/org-contrib/org-protocol.html
site, the gnome instructions are for gnome 2, most people today use
gnome 3, so u need such a desktop file and then call this command, u
maybe dont need the  "-s /tmp/emacs1000/server" part for other setups,
but with or without it, both would be better than having nothing, I
think with the -s... cant hurt, if u need it or not, in most cases it
should work.

btw I use i3, so its not only a gnome3 issue, I think even kde uses now
this mechanism. When I look at teh kde setup instructions they used a
similar desktop file at that time already. So I think thats no
standardised with this desktop files.

      reply	other threads:[~2014-08-05  1:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04  0:53 cant get org-protocol right Stefan Huchler
2014-08-05  1:11 ` Stefan Huchler [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=87fvhbyc2t.fsf@mars.lan \
    --to=stefan.huchler@mail.de \
    --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).