emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] How to setup xdg for org-protocol ?


From: David Maus
Subject: Re: [Orgmode] How to setup xdg for org-protocol ?
Date: Sat, 10 Jul 2010 21:10:37 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Sebastian Rose wrote:
>Julien Fantin <address@hidden> 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.... address@hidden
Email..... address@hidden

Attachment: pgpMLK_uBIXLQ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]