Re: [Evolution] How does evolution pick the browser to open links with?



On Mon, Apr 20, 2015 at 12:57 PM, Milan Crha <mcrha redhat com> wrote:
On Mon, 2015-04-20 at 12:20 +0300, Robert Munteanu wrote:
Hi,

I recently performed a fresh install of my system and am now using
Evolution 3.16.0 ( openSUSE Tumbleweed x86_64, KDE 4.14.6, GTK 3.16.0
).

I have set the Firefox as the default browser through KDE; xdg-open
https://some/link opens the link in Firefox as expected. I
double-checked using xdg-mime query default x-scheme-handler/http (
and https ) and the result is kfmclient_html.desktop.

However, Evolution uses Google Chrome to open all links from emails.
Any idea why that happens?

        Hi,
Evolution uses gtk_show_uri() to open most of the URIs, thus it might
be something with the function internals which breaks the opening.
I thought they do use the x-scheme-handler settings.
        Bye,
        Milan

Thanks for the pointer, it lead me in the right direction. It seems
that gnome has a different store for such settings:

$ gvfs-mime --query x-scheme-handler/http
Default application for 'x-scheme-handler/http': google-chrome.desktop
Registered applications:
        google-chrome.desktop
        firefox.desktop
Recommended applications:
        google-chrome.desktop
        firefox.desktop

I resorted to manually overriding it

$ gvfs-mime --set x-scheme-handler/http firefox.desktop
Set firefox.desktop as the default for x-scheme-handler/http
$ gvfs-mime --set x-scheme-handler/https firefox.desktop
Set firefox.desktop as the default for x-scheme-handler/https

Although I'm not terribly happy about it, it works.

Robert




_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list



-- 
http://robert.muntea.nu/


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