Re: [Geary] Clicking Links

Very helpful, thanks!

I wrote a simple proof of concept for the failure in python:

import gtk
url = ''
gtk.show_uri(None, url, gtk.gdk.CURRENT_TIME)

This had the same symptoms: opened a new window without the link.  I took out a big hammer, `strace`, and watched what it was doing.  Turns out there was some stale information in `~/.local/share/applications/mimeapps.list`, it was referring to .desktop files that I had renamed.

Works now.


On Mon, Oct 24, 2016 at 8:54 PM, Michael Gratton <mike vee net> wrote:
Hi KB, On Tue, Oct 25, 2016 at 10:29 AM, Kenneth Berland <ken hero com> wrote:
I'm trying to switch from Thunderbird. When I click links, geary does not send the url as an argument to my default browser. Consequently, it opens a new empty window for each link I click. What is the mechanism for sending the url to the browser? Is it using dbus?
Geary simply calls GTK+'s standard gtk_call_uri() function to load external links, which in the end looks for your preferred browser using the XDG standard. If LXDE supports setting a default web browser, then setting one should enable this in Geary. If it doesn't, then you many need to set one manually using 'xdg-mime default ...'. //Mike
⊨ Michael Gratton, Percept Wrangler. ⚙ <>

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