gnome_url_show() alternative

Jeroen van Aart jeroen at
Sat Jun 8 03:41:00 CEST 2013

On 06/07/2013 05:12 PM, Jeroen van Aart wrote:
> On 06/07/2013 03:49 PM, Jeroen van Aart wrote:
>> Ok found it. It looks like I can use this function instead:
> Uh nevermind, it needs gvfs which for obvious reasons I am not using.
> Still looking. Guess I'll just go through panel-plugin sources...

Ok, thanks to weather-plugin source I found this as a practical solution:

gchar *str = g_strdup_printf("exo-open --launch WebBrowser %s", url);
g_spawn_command_line_async(str, NULL);

Considering the plugin is part of the core xfce apps I will assume it's 
the appropriate way to do it. I also found out about 
exo_execute_preferred_application() however I didn't feel like including 
another library.


Earthquake Magnitude: 4.9
Date: Saturday, June  8, 2013 00:39:14 UTC
Location: southern East Pacific Rise
Latitude: -36.0098; Longitude: -108.7563
Depth: 10.10 km

More information about the Xfce4-dev mailing list