emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Firefox 4 in Ubuntu 11.04 and org-protocol
@ 2011-05-07  3:03 Rafael
  2011-05-07 16:16 ` Erik Hetzner
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael @ 2011-05-07  3:03 UTC (permalink / raw)
  To: emacs-orgmode


Hi!

Has anybody been succesful in using the tutorial 
http://orgmode.org/worg/org-contrib/org-protocol.html
in the setting described in the subject (Firefox 4, Ubuntu 11.04)?

Those instructions worked perfectly for me in previous versions of
Ubuntu and Firefox, but now I always get the dreaded message

Firefox doesn't know how to open this address, because the protocol
(org-protocol) isn't associated with any program.

I have run the two commands starting with 'gconftool-2', I have checked
with gconf-editor that the settings intended have been set, I have tried
the method in http://kb.mozillazine.org/Register_protocol and also that
in
http://support.mozilla.com/en-US/kb/The%20protocol%20is%20not%20associated%20with%20any%20program?s=protocol&as=s. 

No luck so far...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Firefox 4 in Ubuntu 11.04 and org-protocol
  2011-05-07  3:03 Firefox 4 in Ubuntu 11.04 and org-protocol Rafael
@ 2011-05-07 16:16 ` Erik Hetzner
  2011-05-09 19:07   ` Erik Hetzner
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Hetzner @ 2011-05-07 16:16 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

At Fri, 06 May 2011 22:03:57 -0500,
Rafael wrote:
> 
> 
> Hi!
> 
> Has anybody been succesful in using the tutorial 
> http://orgmode.org/worg/org-contrib/org-protocol.html
> in the setting described in the subject (Firefox 4, Ubuntu 11.04)?
>
> […]

Apparently they changed the way this works. You need to add a
org-protocol.desktop file to ~/.local/share/applications

  [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/

For some reason I cannot get the bookmarklets to work, however. But
opening an org-protocol:/ URL directly works.

best, Erik

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Firefox 4 in Ubuntu 11.04 and org-protocol
  2011-05-07 16:16 ` Erik Hetzner
@ 2011-05-09 19:07   ` Erik Hetzner
  2011-05-12  7:43     ` Mattias Jämting
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Hetzner @ 2011-05-09 19:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

At Sat, 07 May 2011 09:16:38 -0700,
Erik Hetzner wrote:
> Apparently they changed the way this works. You need to add a
> org-protocol.desktop file to ~/.local/share/applications
> 
>   [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/
> 
> For some reason I cannot get the bookmarklets to work, however. But
> opening an org-protocol:/ URL directly works.

Hi,

org-protocol bookmarks simply do not work for me in Firefox 4 on
Ubuntu 11.04 (they give an error message). Anybody have any luck
getting them to work? I can post more info if necessary.

best, Erik

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Firefox 4 in Ubuntu 11.04 and org-protocol
  2011-05-09 19:07   ` Erik Hetzner
@ 2011-05-12  7:43     ` Mattias Jämting
  2011-05-13 18:10       ` Erik Hetzner
  0 siblings, 1 reply; 5+ messages in thread
From: Mattias Jämting @ 2011-05-12  7:43 UTC (permalink / raw)
  Cc: emacs-orgmode

I managed by hacking the /usr/bin/xdg-open script.

See:

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg33861.html

/Mattias


Mattias Jämting, Jämting Web & Design
www.jamting.se | +46 (0)70 6760182



2011/5/9 Erik Hetzner <egh@e6h.org>:
> At Sat, 07 May 2011 09:16:38 -0700,
> Erik Hetzner wrote:
>> Apparently they changed the way this works. You need to add a
>> org-protocol.desktop file to ~/.local/share/applications
>>
>>   [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/
>>
>> For some reason I cannot get the bookmarklets to work, however. But
>> opening an org-protocol:/ URL directly works.
>
> Hi,
>
> org-protocol bookmarks simply do not work for me in Firefox 4 on
> Ubuntu 11.04 (they give an error message). Anybody have any luck
> getting them to work? I can post more info if necessary.
>
> best, Erik
>
> Sent from my free software system <http://fsf.org/>.
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Firefox 4 in Ubuntu 11.04 and org-protocol
  2011-05-12  7:43     ` Mattias Jämting
@ 2011-05-13 18:10       ` Erik Hetzner
  0 siblings, 0 replies; 5+ messages in thread
From: Erik Hetzner @ 2011-05-13 18:10 UTC (permalink / raw)
  To: Mattias Jämting; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

At Thu, 12 May 2011 09:43:01 +0200,
Mattias Jämting wrote:
> 
> I managed by hacking the /usr/bin/xdg-open script.
> 
> See:
> 
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg33861.html

Hi Mattias,

Thanks for the reply! By removing the org-protocol entries from gconf
I got it to work, briefly, but it stopped again. It is too bad that
launching external apps is handled so differently everywhere.

best, Erik

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-13 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07  3:03 Firefox 4 in Ubuntu 11.04 and org-protocol Rafael
2011-05-07 16:16 ` Erik Hetzner
2011-05-09 19:07   ` Erik Hetzner
2011-05-12  7:43     ` Mattias Jämting
2011-05-13 18:10       ` Erik Hetzner

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).