M-x browse-url works as supposed and opens urls in Firefox. But since
I installed opera on my ubuntu-system org-mode insists to use opera
instead of FF...
I already checked "customize-group org-mode" and grepped thru all
my .el for "opera".
And FF is still the default of gnome.
Any suggestion what I can do?
Cheers
Rolf
Ok just noticed this problem only occurs with my emacs 22. And sorry
it's not an org-mode issue, browse-url always uses opera... (?)
But emacs 23 works as expected!
(seem like installing Opera somehow changed the defaults, and emacs 23
knows how to handle this)
Since I'm anyway switching to 23, please don't mind! 8)
LanX <lanx...@googlemail.com> writes:
> I already checked "customize-group org-mode" and grepped thru all my
> .el for "opera". And FF is still the default of gnome.
> Any suggestion what I can do?
Maybe this code helps:
(setq
browse-url-browser-function 'browse-url-generic
browse-url-generic-program "firefox")
I don't know if there is a special variable for org-mode.
Greetings,
Sven
> Hi
>
> M-x browse-url works as supposed and opens urls in Firefox. But since
> I installed opera on my ubuntu-system org-mode insists to use opera
> instead of FF...
If not otherwise configured, org uses mailcap to choose the appropriate
application for a file. It looks like this installation made opera your
default app for HTML-files, from mailcaps pow.
>
> I already checked "customize-group org-mode" and grepped thru all
> my .el for "opera".
> And FF is still the default of gnome.
>
> Any suggestion what I can do?
>
> Cheers
> Rolf
If you don't want to fiddle with mailcap, you can
(add-to-list 'org-file-apps '("\\.x?html?\\'" browse-url file))
and org uses Emacs default-browser.
-ap