From: David Maus <dmaus@ictsoc.de>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org, Julien Fantin <julien.fantin@gmail.com>
Subject: Re: How to setup xdg for org-protocol ?
Date: Sat, 10 Jul 2010 21:10:37 +0200 [thread overview]
Message-ID: <87mxtzi24y.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <871vbbb5op.fsf@gmx.de>
[-- Attachment #1.1: Type: text/plain, Size: 1582 bytes --]
Sebastian Rose wrote:
>Julien Fantin <julien.fantin@gmail.com> writes:
>> I've been struggling this morning trying to get org-protocol setup on my
>> linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php)
>>
>> I can't get a web-browser to register org-protcol with emacsclient, as I'm
>> not using a desktop environment (plain startx and openbox), I'm pretty sure
>> this is an xdg config issue.
>> However, despite reading through the specs I couldn't fathom the proper
>> settings.
>>
>> In chromium, the external application comes up, and calls xdg-open
>> org-protocol://subprotocol/... which ends up firing a new chromium frame
>>
>> In firefox, I've tried setting network.protocol-handler.app.org-protocol to
>> an empty string or my emacsclient path, anyhow I get the following error
>> message :
>> "Firefox doesn't know how to open this address, because the protocol
>> (org-protocol) isn't associated with any program" without showing any
>> external application selection dialog.
>Hi Julien,
>see
>http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28requires_certain_Gnome_libraries_to_be_installed.29
Or, of course "Firefox 3.5 specific (works without installed Gnome
libraries)". Worked fine for me (dwm), just one thing that is IIRC
not mentioned on Worg: You have to click on protocol link to set path
to emacsclient. E.g.
cat >> /tmp/test.html
<a href="org-protocol:///>click</a>
^D
and open /tmp/test.html in Firefox.
HTH,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-07-10 20:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 13:44 How to setup xdg for org-protocol ? Julien Fantin
2010-07-10 17:03 ` Sebastian Rose
2010-07-10 17:28 ` Sebastian Rose
2010-07-10 19:10 ` David Maus [this message]
2010-07-11 22:25 ` Julien Fantin
2010-07-12 9:35 ` Sebastian Rose
2010-07-13 12:12 ` Sébastien Vauban
2010-07-15 10:52 ` Sebastian Rose
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mxtzi24y.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=julien.fantin@gmail.com \
--cc=sebastian_rose@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.