[Evolution] Browser question

Sutton, Harry (MSE) Harry.Sutton@hp.com
Fri, 31 Oct 2003 14:36:09 -0500


--=-WK4baXLX40D3hK46noKn
Content-Type: multipart/alternative; boundary="=-IrEq/fMDLxYcLvboCuao"


--=-IrEq/fMDLxYcLvboCuao
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Thanks, as always, Guenther. Your answers are pretty much always on the
mark, and I do appreciate your patience in the face of repeat questions.
Your little script to open the new tab was the part I kept missing.

All is working now as I wanted.
**************************************
Harry A. Sutton
Hewlett-Packard Company
Multivendor Systems Engineering
https://ecardfile.com/id/HarryS
**************************************

--=-IrEq/fMDLxYcLvboCuao
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Thanks, as always, Guenther. Your answers are pretty much always on the mark, and I do appreciate your patience in the face of repeat questions. Your little script to open the new tab was the part I kept missing.<BR>
<BR>
All is working now as I wanted.<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
**************************************<BR>
Harry A. Sutton<BR>
Hewlett-Packard Company<BR>
Multivendor Systems Engineering<BR>
<A HREF="https://ecardfile.com/id/HarryS"><U>https://ecardfile.com/id/HarryS</U></A><BR>
**************************************
</TD>
</TR>
</TABLE>

</BODY>
</HTML>

--=-IrEq/fMDLxYcLvboCuao--

--=-WK4baXLX40D3hK46noKn
Content-Disposition: inline
Content-Description: Forwarded message - Re: [Evolution] Browser question
Content-Type: message/rfc822

Received: from tayexb12.americas.cpqcorp.net ([16.103.130.102]) by
	MSEEXCV1.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6713); Fri,
	31 Oct 2003 14:17:35 -0500
Received: from cceexb11.americas.cpqcorp.net ([16.110.250.162]) by
	tayexb12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6673); Fri,
	31 Oct 2003 14:17:35 -0500
Received: from cceexg11.americas.cpqcorp.net ([16.110.250.125]) by
	cceexb11.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 31
	Oct 2003 13:17:34 -0600
Received: from zcamail02.zca.compaq.com ([161.114.40.102]) by
	cceexg11.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 31
	Oct 2003 13:17:32 -0600
Received: from ccerelrim04.cce.hp.com (ccerelrim04.cce.hp.com
	[161.114.21.25]) by zcamail02.zca.compaq.com (Postfix) with ESMTP id
	0E096160A3 for <Harry.Sutton@compaq.com>; Fri, 31 Oct 2003 11:17:32 -0800
	(PST)
Received: from ccerelrim04.cce.hp.com (localhost.localdomain [127.0.0.1])
	by receive-from-antispam-filter (Postfix) with SMTP id C6CA632F83 for
	<Harry.Sutton@compaq.com>; Fri, 31 Oct 2003 13:16:59 -0600 (CST)
Received: from rudersport.de (rudersport.de [192.220.91.203]) by
	ccerelrim04.cce.hp.com (Postfix) with ESMTP id A26DF32E65 for
	<Harry.Sutton@hp.com>; Fri, 31 Oct 2003 13:16:50 -0600 (CST)
Received: from [192.168.0.23] (IP-213157026076.dialin.heagmedianet.de
	[213.157.26.76]) by rudersport.de (8.12.10) id h9VJH5Jm092654; Fri, 31 Oct
	2003 12:17:06 -0700 (MST)
Subject: Re: [Evolution] Browser question
From: guenther <guenther@rudersport.de>
To: "Sutton, Harry (MSE)" <Harry.Sutton@hp.com>
Cc: evolution@lists.ximian.com
In-Reply-To: <1067627147.4709.8.camel@flukes.mse.qvar.cpqcorp.net>
References: <1067627147.4709.8.camel@flukes.mse.qvar.cpqcorp.net>
Content-Type: multipart/mixed; boundary="=-PJSJMQSvCzU6IDu9BHl+"
Message-Id: <1067627824.3392.17.camel@monkey>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Fri, 31 Oct 2003 20:17:04 +0100
X-PMX-Version: 4.0.4.77969
Return-Path: guenther@rudersport.de
X-OriginalArrivalTime: 31 Oct 2003 19:17:33.0209 (UTC)
	FILETIME=[A2AC2890:01C39FE3]


--=-PJSJMQSvCzU6IDu9BHl+
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Once per day, yay. Oh, and Jeff: Yes. :-)


> When I receive an email that contains a link, I want to be able to
> have it open a new tab in my already open Mozilla browser. This
> browser lives in a separate workspace from Evo on my desktop.
> 
> The default behavior seems to be to start up another instance of
> Mozilla in the same workspace as Evo. Can I change this, and if so,
> how?

Here is how to set this. Especially note the attached script to open
links in *tabs*, if Mozilla is already running.


So here we go again with the most-wanted answer... ;-)


Setting default browser (Evolution 1.4 / Gnome 2.x)
---------------------------------------------------

Open the "Gnome Control Center" > Preferred Applications > Web Browser
or simply run:
$ gnome-default-applications-properties

 check 'Custom Web Browser'
 Command: gnome-moz-remote --newwin "%s"

This will present you every link (clicked in a Gnome 2 app) in a new
mozilla window. If you prefer tabs (instead of new windows) like me,
change it similar like that:

 Command: mozilla-remote.sh "%s"

Have the attached script in your path (or change the command to have the
whole path) and make the script executable.


If you want to use another browser rather than Mozilla, you have to
adjust the command (or the script for most of them, to enable tabs).

...guenther


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


--=-PJSJMQSvCzU6IDu9BHl+
Content-Disposition: attachment; filename=mozilla-remote.sh
Content-Type: text/x-sh; name=mozilla-remote.sh; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

#!/bin/sh

mozilla -remote 'openURL('$1', new-tab)' || mozilla $1 &

--=-PJSJMQSvCzU6IDu9BHl+--


--=-WK4baXLX40D3hK46noKn--