Re: What's the secret to gnome-terminal open link?

2007-08-09 Thread David Benfell
On Wed, 08 Aug 2007 17:22:08 +1000, Norberto Meijome wrote:
 On Tue, 7 Aug 2007 19:12:22 -0700
 David Benfell [EMAIL PROTECTED] wrote:
 
  I would really like the open link function to work under
  gnome-terminal.  But I can't find any relevant configuration
  and a Google search comes up empty.
 
 I dont use Gnome, but XFCE, and therefore Terminal instead of 
 'gnome-terminal'. The open link function works once you've defined what the 
 default browser is @ XFCE level (ie, within XFCE configuration ). 
I had failed to find Terminal (as opposed to gnome-terminal) before.
But, sure enough, there it is in the ports collection if you only look
with a capital T.

The option to specify both web browsing and e-mail preferences appears
in the [Edit]/[Applications] dialog of Terminal.

Thanks, very much!


-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpOOWhZb5p9I.pgp
Description: PGP signature


SOLVED: Re: What's the secret to gnome-terminal open link?

2007-08-09 Thread David Benfell
On Wed, 08 Aug 2007 15:35:47 +0800, Ow Mun Heng wrote:
 On Tue, 2007-08-07 at 19:12 -0700, David Benfell wrote:
  Hello all,
  
  I would really like the open link function to work under
  gnome-terminal.  But I can't find any relevant configuration
  and a Google search comes up empty.
 
Thanks to Ow Mun Heng, this is now solved.

For whatever reason, the file .gconf/desktop/gnome/url-handlers/http/%gconf.xml
in my home directory contained an incorrect specification for firefox.  It
needs to point to the right place.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpmu0sDVZGFc.pgp
Description: PGP signature


Re: What's the secret to gnome-terminal open link?

2007-08-08 Thread Norberto Meijome
On Tue, 7 Aug 2007 19:12:22 -0700
David Benfell [EMAIL PROTECTED] wrote:

 I would really like the open link function to work under
 gnome-terminal.  But I can't find any relevant configuration
 and a Google search comes up empty.

I dont use Gnome, but XFCE, and therefore Terminal instead of 'gnome-terminal'. 
The open link function works once you've defined what the default browser is @ 
XFCE level (ie, within XFCE configuration ). 

_
{Beto|Norberto|Numard} Meijome

But I don't have to know an answer. I don't feel frightened by not knowing 
things, by being lost in the mysterious 
universe without having any purpose, which is the way it really is, as far as I 
can tell, possibly. It doesn't frighten me.
   Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the secret to gnome-terminal open link?

2007-08-08 Thread Ow Mun Heng
On Tue, 2007-08-07 at 19:12 -0700, David Benfell wrote:
 Hello all,
 
 I would really like the open link function to work under
 gnome-terminal.  But I can't find any relevant configuration
 and a Google search comes up empty.

gnome-terminal/src/terminal-screen.c

open_url (TerminalScreen *screen,
  const char *orig_url,
  int flavor)
{
  GError *err;
  char *url;

  g_return_if_fail (orig_url != NULL);

  /* this is to handle gnome_url_show reentrancy */
  g_object_ref (G_OBJECT (screen));

  switch (flavor)
{
case FLAVOR_DEFAULT_TO_HTTP:
  url = g_strdup_printf (http:%s, orig_url);
  break;
case FLAVOR_EMAIL:
  if (strncmp (mailto:;, orig_url, 7))
url = g_strdup_printf (mailto:%s;, orig_url);
  else
url = g_strdup (orig_url);
  break;
case FLAVOR_AS_IS:
  url = g_strdup (orig_url);
  break;
default:
  url = NULL;
  g_assert_not_reached ();
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What's the secret to gnome-terminal open link?

2007-08-07 Thread David Benfell
Hello all,

I would really like the open link function to work under
gnome-terminal.  But I can't find any relevant configuration
and a Google search comes up empty.

It worked out of the box under Ubuntu, opening up a new tab
in Firefox.  That's what I would like it to do under FreeBSD.

So what or where is the secret?

Thanks!
-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpkLn63nlRdo.pgp
Description: PGP signature